Skip to content

@terminaldz/zrexpress-sdk / index / assertBulkOk

Function: assertBulkOk() ​

ts
function assertBulkOk<T>(result): T;

Defined in: errors.ts:183

Opt-in throw semantics for bulk envelopes (D9): returns the envelope unchanged when nothing failed, otherwise throws ZrExpressBulkError.

Type Parameters ​

Type Parameter
T extends BulkResultEnvelope

Parameters ​

ParameterType
resultT

Returns ​

T

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