Interface: TRPCClientErrorBase<TShape>
On this page
Defined in: packages/client/dist/types-BG-3kpeg.d.mts:95
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-BG-3kpeg.d.mts:100
The shape's data, such as the tRPC code and HTTP status.
message
readonlymessage:string
Defined in: packages/client/dist/types-BG-3kpeg.d.mts:96
shape
readonlyshape:Maybe<TShape>
Defined in: packages/client/dist/types-BG-3kpeg.d.mts:98
The error as the server's error formatter shaped it, if it came from the server.