/// 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)' : ''}'; }