Constructor
new RequestError(statusCode, detail, …params)
Create a request error exception.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
statusCode |
number
|
HTTP status code of the response. |
|
detail |
array
|
object
|
List or single object describing the error. |
|
params |
any
|
<repeatable> |
Additional error parameters (used by parent class) |