Skip to content

CfEnvelope

Defined in: utils.ts:31

The { success, errors, result } envelope Cloudflare wraps every JSON response in.

T

errors: unknown[]

Defined in: utils.ts:35

The errors Cloudflare reports, empty on success.


result: T

Defined in: utils.ts:37

The payload of the call.


success: boolean

Defined in: utils.ts:33

Whether Cloudflare reports the call as successful.