Class: PKM_Unauthorized

PKM_Unauthorized(error)

A PKM unauthorized access error

Constructor

new PKM_Unauthorized(error)

constructor
Parameters:
Name Type Description
error * error data
Source:

Methods

(static) from(error) → {PKM_Unauthorized}

Create an instance of PKM_Unauthorized from a foreign error or a bare string
Parameters:
Name Type Description
error Object | string an error
Source:
Returns:
a PKM_Unauthorized instance
Type
PKM_Unauthorized