AuthErrorShape
AuthErrorShape<
TShape> =Omit<TShape,"data"|"message"> &object
Type Parameters
Section titled “Type Parameters”TShape
Section titled “TShape”TShape extends ShapeLike
Type Declaration
Section titled “Type Declaration”
readonlydata:Omit<TShape["data"],"stack"> &object
Type Declaration
Section titled “Type Declaration”
readonlyauth:PublicAuthError|null
Set on an auth refusal: the public code, and when to retry on rate_limited.
readonlyinput: readonlyPublicInputIssue[] |null
Set when the input failed validation: where and what kind, never the value.
message
Section titled “message”
readonlymessage:string