ValidationException constructor
const
ValidationException({
- required String message,
- StackTrace? stackTrace,
- dynamic errors,
Exception thrown when API returns a 422 response.
Implementation
const ValidationException({
required super.message,
super.stackTrace,
this.errors,
}) : super(code: 422);