TrpcSocketErrorOptionsType
Details of the subscription a TrpcSocketError belongs to
Import
import { TrpcSocketErrorOptionsType } from "@hyper-fetch/trpc"
Source
Package
Preview
type TrpcSocketErrorOptionsType<Shape> = {
payload: unknown;
shape: Shape;
topic: string | null;
}
Structure
TrpcSocketErrorOptionsType
| Name | Type | Description |
|---|---|---|
| payload | | Input of the failed subscription |
| shape | | Error sent by the server, after the transformer |
| topic | | Topic of the failed subscription,
|

