Skip to main content

Interface: RejectedAnswer

The HTTP answer a rejection of the app's requestor stands for (see ChainGatewayOptions.answerOfRejection).

Properties​

PropertyTypeDescription
bodyunknownThe answer's body: parsed JSON when it was JSON, else the raw text.
headers?Record<string, string | undefined>The answer's headers, for Retry-After.
statusnumberThe HTTP status of the answer (100-599).