Skip to content

@terminaldz/zrexpress-sdk / index / ZrExpressNotFoundError

Class: ZrExpressNotFoundError ​

Defined in: errors.ts:77

404 — resource not found.

Extends ​

Constructors ​

Constructor ​

ts
new ZrExpressNotFoundError(message, args): ZrExpressNotFoundError;

Defined in: errors.ts:58

Parameters ​

ParameterType
messagestring
argsApiErrorArgs

Returns ​

ZrExpressNotFoundError

Inherited from ​

ZrExpressApiError.constructor

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
statusreadonlynumber-ZrExpressApiError.statuserrors.ts:47
code?readonlystringMachine code from ProblemDetails.title, e.g. "ParcelErrors.NotFound".ZrExpressApiError.codeerrors.ts:49
detail?readonlystringHuman message from ProblemDetails.detail.ZrExpressApiError.detailerrors.ts:51
traceId?readonlystringSupport correlation id from the ProblemDetails traceId extension.ZrExpressApiError.traceIderrors.ts:53
problem?readonlyobject & objectRaw problem body when one was present (401/403 legitimately have none).ZrExpressApiError.problemerrors.ts:55
requestIdreadonlyZrRequestId-ZrExpressApiError.requestIderrors.ts:56

Released under the MIT License. Not affiliated with ZR Express.