Skip to content
Docs
Reference

Function: errorDetailsOf()

Function: errorDetailsOf() in @ticketlayer/backstage.

@ticketlayer/backstage


@ticketlayer/backstage / errorDetailsOf

function errorDetailsOf(body: unknown): BackstageAPIErrorDetails;

Defined in: client.ts:685

The details of a JSend error body (BackstageAPIErrorDetails): empty for a body that is not an envelope, or an envelope that says nothing more.

Parameters#

ParameterType
bodyunknown

Returns#

BackstageAPIErrorDetails