mirror of
https://github.com/foss42/apidash.git
synced 2025-12-04 03:46:57 +08:00
Refactor DashBot
This commit is contained in:
8
lib/dashbot/error/chat_failure.dart
Normal file
8
lib/dashbot/error/chat_failure.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
class ChatFailure implements Exception {
|
||||
final String message;
|
||||
final String? code;
|
||||
const ChatFailure(this.message, {this.code});
|
||||
|
||||
@override
|
||||
String toString() => 'ChatFailure: $message';
|
||||
}
|
||||
Reference in New Issue
Block a user