new: display go errors
This commit is contained in:
@@ -25,7 +25,7 @@ extension ErrorPresenter on TranslationsEn {
|
|||||||
UnexpectedFailure(error: final nestedErr?) => errorToPair(nestedErr),
|
UnexpectedFailure(error: final nestedErr?) => errorToPair(nestedErr),
|
||||||
Failure() => error.present(this),
|
Failure() => error.present(this),
|
||||||
DioException() => error.present(this),
|
DioException() => error.present(this),
|
||||||
_ => (type: failure.unexpected, message: null),
|
_ => (type: failure.unexpected, message: error.toString()),
|
||||||
};
|
};
|
||||||
|
|
||||||
PresentableError presentError(
|
PresentableError presentError(
|
||||||
|
|||||||
Reference in New Issue
Block a user