You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
481 B
16 lines
481 B
/// Exception thrown when Firebase service operations fail.
|
|
///
|
|
/// Note: This is different from Firebase SDK's FirebaseException.
|
|
/// This exception is used for our FirebaseService wrapper.
|
|
class FirebaseServiceException implements Exception {
|
|
/// Error message.
|
|
final String message;
|
|
|
|
/// Creates a [FirebaseServiceException] with the provided message.
|
|
FirebaseServiceException(this.message);
|
|
|
|
@override
|
|
String toString() => 'FirebaseServiceException: $message';
|
|
}
|
|
|