ExceptionEvent class
An event that represents an exception that occurred in the server.
- Implemented types
Constructors
-
ExceptionEvent(Object exception, StackTrace stackTrace, {String? message, Map<
String, Object> custom = const {}}) -
Creates a new ExceptionEvent.
const
Properties
-
custom
→ Map<
String, Object> -
Custom key/value data added to the event.
final
- exception → Object
-
The exception that occurred.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
An optional message associated with the exception.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of the exception.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of this context.
(The string separates the members with newlines.)
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited