property

quic.StreamDestroyOptions.code

code?: number | bigint

The application error code to include in the RESET_STREAM and STOP_SENDING frames sent to the peer. Numbers are coerced to BigInt. When omitted, the wire code is derived from error (see below).