ApiErrorResponse constructor
ApiErrorResponse({})
Constructor to initialize the API error response object.
message represents the error message(s) returned by the API.
statusCode represents the HTTP status code.
Implementation
ApiErrorResponse({
this.message,
this.statusCode,
this.status,
this.data,
this.validation,
});