@terminaldz/zrexpress-sdk / index / ZrExpressValidationError
Class: ZrExpressValidationError
Defined in: errors.ts:80
400 — validation/bad request (non-bulk operations only, see D9).
Extends
Constructors
Constructor
ts
new ZrExpressValidationError(message, args): ZrExpressValidationError;Defined in: errors.ts:58
Parameters
| Parameter | Type |
|---|---|
message | string |
args | ApiErrorArgs |
Returns
ZrExpressValidationError
Inherited from
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
status | readonly | number | - | ZrExpressApiError.status | errors.ts:47 |
code? | readonly | string | Machine code from ProblemDetails.title, e.g. "ParcelErrors.NotFound". | ZrExpressApiError.code | errors.ts:49 |
detail? | readonly | string | Human message from ProblemDetails.detail. | ZrExpressApiError.detail | errors.ts:51 |
traceId? | readonly | string | Support correlation id from the ProblemDetails traceId extension. | ZrExpressApiError.traceId | errors.ts:53 |
problem? | readonly | object & object | Raw problem body when one was present (401/403 legitimately have none). | ZrExpressApiError.problem | errors.ts:55 |
requestId | readonly | ZrRequestId | - | ZrExpressApiError.requestId | errors.ts:56 |