addError method
Reports an error
which triggers onError
with an optional StackTrace.
Implementation
@mustCallSuper
void addError(Object error, [StackTrace? stackTrace]) {
onError(error, stackTrace ?? StackTrace.current);
}
Reports an error
which triggers onError
with an optional StackTrace.
@mustCallSuper
void addError(Object error, [StackTrace? stackTrace]) {
onError(error, stackTrace ?? StackTrace.current);
}