Skip to content

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

ParameterType
messagestring
options?ErrorOptions

Returns

UnauthorizedProblem

Overrides

ProblemError.constructor

Properties

problem

ts
readonly problem: Problem;

Inherited from

ProblemError.problem