Perrored
Bun

property

tls.TLSSocket.errored

readonly errored: null | Error

Returns error if the stream has been destroyed with an error.