Class RoomsError

java.lang.Object
com.azure.communication.rooms.models.RoomsError

public final class RoomsError extends Object
The Rooms Services error.
  • Constructor Details

    • RoomsError

      public RoomsError(String message, String code, String target, List<RoomsError> details, RoomsError innerError)
      Constructs a new RoomsError
      Parameters:
      message - The message of the original error
      code - The error code
      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<RoomsError> getDetails()
      Get the details property: Further details about specific errors that led to this error.
      Returns:
      the details value.
    • getInnerError

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