diff --git a/lib/main/exceptions/cache_exception.dart b/lib/main/exceptions/cache_exception.dart index f46f1ef68..043981f8e 100644 --- a/lib/main/exceptions/cache_exception.dart +++ b/lib/main/exceptions/cache_exception.dart @@ -14,6 +14,9 @@ abstract class CacheException with EquatableMixin implements Exception { } return exceptionName; } + + @override + List get props => [message]; } class UnknownCacheError extends CacheException { diff --git a/lib/main/exceptions/remote_exception.dart b/lib/main/exceptions/remote_exception.dart index 751c77b59..76564a522 100644 --- a/lib/main/exceptions/remote_exception.dart +++ b/lib/main/exceptions/remote_exception.dart @@ -116,7 +116,8 @@ class RefreshTokenFailedException extends RemoteException { Object? message }) : super( code: code, - message: message ?? 'Refresh Token failed with 400 Bad Request. The session is invalid/revoked.', + message: message ?? + 'Refresh Token failed with status $code. The session is invalid/revoked.', ); @override