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