AsyncError<T extends Object?> constructor
const
AsyncError<T extends Object?> ({
- T? data,
- Object? error,
- StackTrace? stackTrace,
Creates an AsyncError object representing the phase where an asynchronous operation has resulted in an error.
Implementation
const AsyncError({T? data, super.error, super.stackTrace}) : super(data);