java.lang.Object
com.azure.communication.phonenumbers.siprouting.models.SipRoutingError

public final class SipRoutingError extends Object
The SIP Routing error.
  • Constructor Details

    • SipRoutingError

      public SipRoutingError(String code, String message, String target, List<SipRoutingError> details, SipRoutingError innerError)
      Constructs a new PhoneNumberError
      Parameters:
      code - The error code
      message - The message of the original error
      target - The target of the error
      details - Additional details
      innerError - The inner error
  • Method Details

    • getCode

      public String getCode()
      Get the code property: The error code.
      Returns:
      the code value.
    • getMessage

      public String getMessage()
      Get the message property: The error message.
      Returns:
      the message value.
    • getTarget

      public String getTarget()
      Get the target property: The error target.
      Returns:
      the target value.
    • getDetails

      public List<SipRoutingError> getDetails()
      Get the details property: Further details about specific errors that led to this error.
      Returns:
      the details value.
    • getInnerError

      public SipRoutingError getInnerError()
      Get the innerError property: The inner error if any.
      Returns:
      the innerError value.