MgetAuthorizationError
Bun

method

TCPSocket.getAuthorizationError

Returns the reason why the peer's certificate was not been verified. This property is set only when socket.authorized === false.

Referenced types

interface Error