13 lines
277 B
Dart
Executable File
13 lines
277 B
Dart
Executable File
import 'package:spotify/spotify.dart';
|
|
|
|
class TrackNotFoundError extends Error {
|
|
final Track track;
|
|
|
|
TrackNotFoundError(this.track);
|
|
|
|
@override
|
|
String toString() {
|
|
return '[TrackNotFoundError] ${track.name} - ${track.artists?.map((e) => e.name).join(", ")}';
|
|
}
|
|
}
|