4irbnb

Replicating airbnb following the atomic design principles...

View the Project on GitHub kokiebisu/4irbnb

Home > @nextbnb/common > UnauthorizedError

UnauthorizedError class

Customized error to be thrown when the user tries to perform an authorized action

Signature:

export declare class UnauthorizedError extends BaseError 

Extends: BaseError

Constructors

Constructor Modifiers Description
(constructor)()   Constructs a new instance of the UnauthorizedError class

Methods

Method Modifiers Description
get()   Retrieves the error information