Files
immich/mobile/lib/constants/errors.dart
5b0575b956 refactor: DCM - const border radius, constructor & switch expressions (#19515)
* enable border radius, switch exp, const constructor

* regenerate provider

* more formatting

---------

Co-authored-by: shenlong-tanwen <[email protected]>
2025-06-25 13:06:24 +05:30

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";
}