Replicating airbnb following the atomic design principles...
Home > @nextbnb/common > UnauthorizedError
Customized error to be thrown when the user tries to perform an authorized action
Signature:
export declare class UnauthorizedError extends BaseError
Extends: BaseError
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)() | Constructs a new instance of the UnauthorizedError class |
| Method | Modifiers | Description |
|---|---|---|
| get() | Retrieves the error information |