Rejection.unprocessable constructor

const Rejection.unprocessable(
  1. Map<String, List<String>> fields, {
  2. String message = 'Unprocessable entity',
})

A 422 rejection carrying per-field errors.

Both a shape mismatch during decoding and a failed Validate() constraint land here, so clients see one error format.

Implementation

const Rejection.unprocessable(
  Map<String, List<String>> fields, {
  String message = 'Unprocessable entity',
}) : this._(422, message, fields);