HttpError constructor
Constructs a new instance.
errorMessage A descriptive error message. statusCode The HTTP status code represented by this error.
Implementation
HttpError(String? errorMessage, num statusCode)
: this.message = errorMessage,
this.statusCode = statusCode;