ResponseError.authorization constructor
Builds a authorization ResponseError with ErrorCode.authorization 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.authorization(
{required String message, String? context, String? target})
: this(
code: ErrorCode.authorization,
message: message,
context: context,
target: target);