ExceptionFilter class abstract

An interface for handling exceptions in the application.

Inheritance

Constructors

ExceptionFilter({List<Type> catchTargets = const []})
Creates a new instance of ExceptionFilter.
const

Properties

catchTargets List<Type>
The list of exception types that this filter can catch.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onException(ExecutionContext<ArgumentsHost> context, Exception exception) Future<void>
Called when an exception is thrown.
toString() String
A string representation of this object.
inherited

Operators

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