ApplicationError class

Implementers

Constructors

ApplicationError.new(String originalErrorMessage, {String? errorCode, StackTrace? stackTrace, String? externalSource})

Properties

errorCode String?
The error code is an identifier for the message Theoretically, if internal the error code should be unique for each error message, if external it should also be unique per external source
final
externalSource String?
It is an identifier for the source of the error message )external driver, etc. Each pair of ExternalSource-Error code must be unique.
final
hashCode int
The hash code for this object.
no setteroverride
internalError bool
no setter
originalErrorMessage String
The original Error Message represents the error message in the default language, if internal, or the one coming from the external source like when an external service or driver is called
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stackTrace, if available
final

Methods

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

Operators

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