FlusmicError.fromException constructor
FlusmicError.fromException(
- Exception exception
Exception for failed deserialization exception
Implementation
factory FlusmicError.fromException(Exception exception) {
return FlusmicError._(
code: 100,
humanMessage: 'Unknown error',
message: exception.toString(),
response: exception.toString(),
);
}