TF-1963 Sync handle exception at data and domain layer
(cherry picked from commit 591388e01fc4fc4c357bdb40a44dac0377dc9fe5)
This commit is contained in:
@@ -23,13 +23,9 @@ class BadGateway extends AuthenticationException {
|
||||
List<Object?> get props => [message];
|
||||
}
|
||||
|
||||
class NotFoundAuthenticatedAccountException implements Exception {
|
||||
NotFoundAuthenticatedAccountException();
|
||||
}
|
||||
class NotFoundAuthenticatedAccountException implements Exception {}
|
||||
|
||||
class NotFoundStoredTokenException implements Exception {
|
||||
NotFoundStoredTokenException();
|
||||
}
|
||||
class NotFoundStoredTokenException implements Exception {}
|
||||
|
||||
class InvalidBaseUrl extends AuthenticationException {
|
||||
InvalidBaseUrl() : super(AuthenticationException.invalidBaseUrl);
|
||||
@@ -38,17 +34,21 @@ class InvalidBaseUrl extends AuthenticationException {
|
||||
List<Object?> get props => [message];
|
||||
}
|
||||
|
||||
class NotFoundAccessTokenException implements Exception {
|
||||
NotFoundAccessTokenException();
|
||||
}
|
||||
class NotFoundAccessTokenException implements Exception {}
|
||||
|
||||
class AccessTokenInvalidException implements Exception {
|
||||
AccessTokenInvalidException();
|
||||
}
|
||||
class AccessTokenInvalidException implements Exception {}
|
||||
|
||||
class DownloadAttachmentHasTokenExpiredException implements Exception {
|
||||
|
||||
final String refreshToken;
|
||||
|
||||
DownloadAttachmentHasTokenExpiredException(this.refreshToken);
|
||||
}
|
||||
}
|
||||
|
||||
class CanNotFoundBaseUrl implements Exception {}
|
||||
|
||||
class CanNotFoundUserName implements Exception {}
|
||||
|
||||
class CanNotFoundPassword implements Exception {}
|
||||
|
||||
class CanNotAuthenticationInfoOnWeb implements Exception {}
|
||||
Reference in New Issue
Block a user