HVError class

HVError represents an error object with an error code and error message.

Constructors

HVError({required int errorCode, required String errorMessage})
Creates an instance of HVError.

Properties

errorCode int
The error code associated with the error.
final
errorMessage String
The error message describing the error.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromMap(Map errorObj) HVError
Creates an instance of HVError from a map object.