Interface: TRPCClientErrorBase<TShape>
On this page
Defined in: packages/client/dist/types-DO-GCB2q.d.mts:98
What a client error has, whatever its router.
Type Parameters
| Type Parameter |
|---|
TShape extends DefaultErrorShape |
Properties
data
readonlydata:Maybe<TShape["data"]>
Defined in: packages/client/dist/types-DO-GCB2q.d.mts:103
The shape's data, such as the tRPC code and HTTP status.
message
readonlymessage:string
Defined in: packages/client/dist/types-DO-GCB2q.d.mts:99
shape
readonlyshape:Maybe<TShape>
Defined in: packages/client/dist/types-DO-GCB2q.d.mts:101
The error as the server's error formatter shaped it, if it came from the server.