Initial commit

This commit is contained in:
admin1
2026-07-14 11:11:36 +08:00
commit 656499cf94
604 changed files with 119518 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import '../contracts/error.dart';
class DomainError implements Exception {
final ErrorCode code;
final String message;
final bool retryable;
final Object? details;
DomainError(this.code, this.message, {this.retryable = false, this.details});
@override
String toString() => 'DomainError(${code.value}): $message';
}