Class SipRoutingError
java.lang.Object
com.azure.communication.phonenumbers.siprouting.models.SipRoutingError
The SIP Routing error.
-
Constructor Summary
ConstructorDescriptionSipRoutingError
(String code, String message, String target, List<SipRoutingError> details, SipRoutingError innerError) Constructs a new PhoneNumberError -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code property: The error code.Get the details property: Further details about specific errors that led to this error.Get the innerError property: The inner error if any.Get the message property: The error message.Get the target property: The error target.
-
Constructor Details
-
SipRoutingError
public SipRoutingError(String code, String message, String target, List<SipRoutingError> details, SipRoutingError innerError) Constructs a new PhoneNumberError- Parameters:
code
- The error codemessage
- The message of the original errortarget
- The target of the errordetails
- Additional detailsinnerError
- The inner error
-
-
Method Details
-
getCode
Get the code property: The error code.- Returns:
- the code value.
-
getMessage
Get the message property: The error message.- Returns:
- the message value.
-
getTarget
Get the target property: The error target.- Returns:
- the target value.
-
getDetails
Get the details property: Further details about specific errors that led to this error.- Returns:
- the details value.
-
getInnerError
Get the innerError property: The inner error if any.- Returns:
- the innerError value.
-