Class RemoteRenderingServiceError

java.lang.Object
com.azure.mixedreality.remoterendering.models.RemoteRenderingServiceError

public final class RemoteRenderingServiceError extends Object
Represents an error in the service.
  • Constructor Details

    • RemoteRenderingServiceError

      public RemoteRenderingServiceError(String code, String message, String target, RemoteRenderingServiceError innerError, List<RemoteRenderingServiceError> rootErrors)
      Constructs a new RemoteRenderingServiceError object.
      Parameters:
      code - The error code.
      message - The human-readable representation of the error.
      target - The target of the particular error (e.g., the name of the property in error).
      innerError - An object containing more specific information than the current object about the error.
      rootErrors - The list of errors that led to this reported error.
  • Method Details

    • getCode

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

      public String getMessage()
      Get the message property: A human-readable representation of the error.
      Returns:
      the message value.
    • getTarget

      public String getTarget()
      Get the target property: The target of the particular error (e.g., the name of the property in error).
      Returns:
      the target value.
    • getInnerError

      public RemoteRenderingServiceError getInnerError()
      Get the innerError property: An object containing more specific information than the current object about the error.
      Returns:
      the innerError value.
    • listRootErrors

      public List<RemoteRenderingServiceError> listRootErrors()
      List of errors that led to this reported error.
      Returns:
      the list of errors.