API reference / @backpack/aws-lambda / rest / UnauthorizedProblem
Class: UnauthorizedProblem
A generic ProblemError
that represents an Unauthorized (401) HTTP error.
Extends
Constructors
Constructor
ts
new UnauthorizedProblem(message, options?): UnauthorizedProblem;
Parameters
Parameter | Type |
---|---|
message | string |
options? | ErrorOptions |
Returns
UnauthorizedProblem
Overrides
Properties
problem
ts
readonly problem: Problem;