ApiErrorResponse
Error envelope produced by the server's HttpErrorFilter for all thrown HttpExceptions (pinned by e2e tests).
Type: object
| Field | Type | Description |
|---|---|---|
code | number | |
error | string | |
message optional | string | |
method | string | |
path | string | |
timestamp | string |
Example (illustrative)
{
"code": 1,
"error": "string",
"message": "string",
"method": "string",
"path": "string",
"timestamp": "string"
}Used by
- GET
/search/collection/{handle} - GET
/search/product/{handles} - GET
/search/query/{term} - GET
/search/suggest/{term} - GET
/zone/query - POST
/zone/query - GET
/zone/query/{id} - POST
/zone/query/{id}
Declared in api-types/src/common.ts.