UArException.fromPlatform constructor
UArException.fromPlatform(
- PlatformException error
Implementation
factory UArException.fromPlatform(PlatformException error) => UArException(
code: _enumOf(UArErrorCode.values, error.code, UArErrorCode.unknown),
message: error.message ?? error.code,
detail: error.details?.toString(),
);