Class ErrorResponse

java.lang.Object
org.sourcelab.github.client.response.ErrorResponse

public class ErrorResponse extends Object
Represents an Error response from the REST Api.
  • Constructor Details

    • ErrorResponse

      public ErrorResponse(String message, String documentationUrl, List<Error> errors)
      Constructor.
  • Method Details

    • getMessage

      public String getMessage()
      Error message value.
      Returns:
      Error message value.
    • getDocumentationUrl

      public String getDocumentationUrl()
      Documentation url value.
      Returns:
      Documentation url value.
    • getErrors

      public List<Error> getErrors()
      Optionally returned by API, the specific fields with errors.
      Returns:
      List of specific field errors.
    • toString

      public String toString()
      Overrides:
      toString in class Object