Error class

Container for all error elements.

Constructors

Error({String? code, String? key, String? message, String? versionId})
Error.fromXml(XmlElement elem)
factory

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.
final
hashCode int
The hash code for this object.
no setterinherited
key String?
The error key.
final
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionId String?
The version ID of the error.
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.
inherited