Skip to main content

Type Alias: GatewayInferenceResponseErrorEvent

type GatewayInferenceResponseErrorEvent = {
[key: string]: unknown;
type: "error";
code: string | null;
message: string;
param: string | null;
};

Defined in: src/models/ai-gateway-inference.ts:4771

Portkey ResponseErrorEvent; additive response fields are preserved.

Example​

`GatewayInferenceResponseErrorEventSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "error";

Defined in: src/models/ai-gateway-inference.ts:4772


code​

code: string | null;

Defined in: src/models/ai-gateway-inference.ts:4773


message​

message: string;

Defined in: src/models/ai-gateway-inference.ts:4774


param​

param: string | null;

Defined in: src/models/ai-gateway-inference.ts:4775