AlarmExceptionHandlers extension
Handlers for parsing runtime exceptions as an AlarmException.
Static Methods
-
catchError<
T> (dynamic error, StackTrace stacktrace) → T -
Available on AlarmException, provided by the AlarmExceptionHandlers extension
Utility method that can be used for wrapping errors thrown by Futures in an AlarmException. -
fromError(
dynamic error, [StackTrace? stacktrace]) → AlarmException -
Available on AlarmException, provided by the AlarmExceptionHandlers extension
Wraps a dynamic error within an AlarmException. -
fromException(
Exception ex, [StackTrace? stacktrace]) → AlarmException -
Available on AlarmException, provided by the AlarmExceptionHandlers extension
Wraps a Exception within an AlarmException. -
fromPlatformException(
PlatformException ex) → AlarmException -
Available on AlarmException, provided by the AlarmExceptionHandlers extension
Wraps a PlatformException within an AlarmException.