HVError constructor
Creates an instance of HVError.
Parameters:
errorCode
: The error code associated with the error.errorMessage
: The error message describing the error.
Implementation
HVError({
required this.errorCode,
required this.errorMessage,
});