sendUnauthorized method
Implementation
FutureOr<Response> sendUnauthorized(Request req, String message) async {
var correlationId = getCorrelationId(req);
var error = UnauthorizedException(correlationId, 'UNAUTHORIZED', message);
return await sendError(req, error);
}