ApiError
Sourceimport { ApiError } from "@prestojs/rest";
Hierarchy
- Error
- ApiError
Constructor
Params:
Parameter | Type | Description | |
---|---|---|---|
* | status | number | |
* | statusText | string | |
* | content | any |
Properties
message
Sourcename
Sourcestack
SourceStatic Methods
Params:
Parameter | Type | Description | |
---|---|---|---|
* | targetObject | object | |
constructorOpt | Function |
Returns:void
Params:
Parameter | Type | Description | |
---|---|---|---|
* | err | Error | |
* | stackTraces | CallSite[] |
Returns:any