SilentException class Null safety

A form of CaughtException that should be silent to users.

This is still considered an exceptional situation and will be sent to crash reporting.

Inheritance

Constructors

SilentException(String message, Object exception, StackTrace stackTrace)
SilentException.wrapInMessage(String message, CaughtException exception)
Create a SilentException to wrap a CaughtException, adding a message.

Properties

exception Object
The exception that was caught.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
message String?
The message describing where/how/why this was caught.
final, inherited
rootCaughtException CaughtException
Recursively unwrap this CaughtException if it itself contains a CaughtException. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
The stack trace associated with the exception.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited