errorCode

open external val errorCode: Short(source)

The errorCode property of the RTCPeerConnectionIceErrorEvent interface represents the STUN error code returned by the STUN or TURN server if there was an error during ICE negotiation.

MDN Reference