ErrorResponse constructor
ErrorResponse({})
Implementation
ErrorResponse({
super.error = true,
required super.messages,
required this.type,
super.statusCode = HttpStatus.internalServerError,
this.context,
this.stackTrace,
});