Constructor
new SipError(status, reasonopt)
Create a SipError object
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
status |
number
|
SIP final status | |
reason |
string
|
<optional> |
reason for failure; if not provided the standard reason associated with the provided SIP status is used |
Extends
- Error