decode static method
dynamic
decode(
- dynamic exception
Decode exception
Implementation
static decode(dynamic exception) {
try {
_errors.firstWhere((e) => e.isException(exception)).build(exception);
} catch (e) {
if (e is StateError) throw exception;
rethrow;
}
}