ResponseError.unprocessableEntity constructor
Builds a unprocessable entity ResponseError with ErrorCode.unprocessableEntity and:
message
: The error messagecontext
: The context of execution when the error ocurredtarget
: The target entity of the API that triggered this error
Implementation
ResponseError.unprocessableEntity(
{required String message, String? context, String? target})
: this(
code: ErrorCode.unprocessableEntity,
message: message,
context: context,
target: target);