ValidationException constructor

ValidationException(
  1. Map<String, dynamic> errors
)

Creates a new ValidationException with the given errors.

Implementation

ValidationException(Map<String, dynamic> errors) : super(422, 'The given data was invalid.', errors);