Constructor
new PKM_InternalServerError(error)
constructor
Parameters:
Name | Type | Description |
---|---|---|
error |
* | error data |
- Source:
Methods
(static) from(error) → {PKM_InternalServerError}
Create an instance of PKM_InternalServerError from a foreign error or a bare string
Parameters:
Name | Type | Description |
---|---|---|
error |
Object | string | an error |
- Source:
Returns:
a PKM_InternalServerError instance