Error class

Container for all error elements.

Constructors

Error(String? code, String? key, String? message, String? versionId)
Error.fromXml(XmlElement xml)

Properties

code String?
The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key String?
The error key.
getter/setter pair
message String?
The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionId String?
The version ID of the error.
getter/setter pair

Methods

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

Operators

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