DOM Exceptions

Some functions in JsSIP could raise exceptions in certain circumstances (see DOMException as defined by the W3C). The following is the list of DOMExceptions in JsSIP:

Code Constant Description
1 CONFIGURATION_ERROR Error during UA configuration object load.
2 INVALID_TARGET_ERROR The destination target is not a valid SIP URI or it cannot be converted into a valid SIP URI.
3 INVALID_STATE_ERROR The object is in an unapropiate state to execute the given action.