CommonError class abstract

Constructors

CommonError([dynamic updates(CommonErrorBuilder b)])
factory

Properties

description → String
no setter
dismissed → bool
no setter
errorCode → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
route → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stack → String
no setter
status → int
no setter
timestamp → DateTime
no setter
unauthorized → bool
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CommonErrorBuilder b)) → CommonError
Rebuilds the instance.
inherited
toBuilder() → CommonErrorBuilder
Converts the instance to a builder B.
inherited
toJson() → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<CommonError>
no setter

Static Methods

fromError(Exception error, StackTrace stack) → CommonError
fromJson(dynamic jsonString) → CommonError?
fromString(String error) → CommonError