ValidationException constructor
ValidationException(
- String message, {
- Map<
String, dynamic> ? errors, - LuckyResponse? response,
Creates a ValidationException with the given error message.
Optionally accepts a structured errors map and the original response.
Implementation
ValidationException(
String message, {
this.errors,
LuckyResponse? response,
}) : super(message, statusCode: 422, response: response);