TOnStreamErrorCallback
Bun

type

quic.OnStreamErrorCallback

type OnStreamErrorCallback = (this: QuicStream, error: any) => void