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.

15 lines
384 B

/// Exception thrown when Blossom operations fail.
class BlossomException implements Exception {
/// Error message.
final String message;
/// HTTP status code (if applicable).
final int? statusCode;
BlossomException(this.message, [this.statusCode]);
@override
String toString() => 'BlossomException: $message${statusCode != null ? ' (Status: $statusCode)' : ''}';
}

Powered by TurnKey Linux.