NabtoNoChannelsException.getRemoteChannelErrorCode()
DESCRIPTION
Get underlying error code on remote channel.
Possible remote channel error code are:
NOT_ATTACHEDif the target remote device is not attached to the basestationTIMEOUTif a timeout occured when connecting to the basestation.FORBIDDENif the basestation request is rejectedTOKEN_REJECTEDif the basestation rejected based on an invalid SCT or JWTDNSif the server URL failed to resolveUNKNOWN_SERVER_KEYif the provided server key was not known by the basestationUNKNOWN_PRODUCT_IDif the provided product ID was not known by the basestationUNKNOWN_DEVICE_IDif the provided device ID was not known by the basestationNONEif remote relay was not enabled
DECLARATION
public ErrorCode getRemoteChannelErrorCode()
RETURNS
the remote channel error code