mirror of https://github.com/immich-app/immich.git
12 lines
292 B
Dart
12 lines
292 B
Dart
/// Base class which is used to check if an Exception is a custom exception
|
|
sealed class ImmichErrors {
|
|
const ImmichErrors();
|
|
}
|
|
|
|
class NoResponseDtoError extends ImmichErrors implements Exception {
|
|
const NoResponseDtoError();
|
|
|
|
@override
|
|
String toString() => "Response Dto is null";
|
|
}
|