Source Code added
This commit is contained in:
parent
800376eafd
commit
9efa9bc6dd
3912 changed files with 754770 additions and 2 deletions
11
mobile/lib/constants/errors.dart
Normal file
11
mobile/lib/constants/errors.dart
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/// 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue