mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-03 17:58:21 +00:00
2.0.0
This commit is contained in:
@@ -8,7 +8,7 @@ class AsyncException implements Exception {
|
||||
|
||||
AsyncException(this.type, this.code, this.message) {}
|
||||
|
||||
static toAsyncException(Exception ex) {
|
||||
static AsyncException toAsyncException(Exception ex) {
|
||||
return ex is AsyncException
|
||||
? ex
|
||||
: new AsyncException(ErrorType.Exception, 0, ex.toString());
|
||||
|
||||
Reference in New Issue
Block a user