HVError constructor

HVError({
  1. required int errorCode,
  2. required String errorMessage,
})

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,
});