PcaptureRejectionSymbol
Bun

property

stream.default.Readable.captureRejectionSymbol

readonly static captureRejectionSymbol: typeof captureRejectionSymbol

Value: Symbol.for('nodejs.rejection')

See how to write a custom rejection handler.