Class Error

java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject
com.wrapper.spotify.model_objects.specification.Error
All Implemented Interfaces:
IModelObject

public class Error
extends AbstractModelObject
Retrieve information about Error objects by building instances from this class.
  • Method Details

    • getStatus

      public Integer getStatus()
      Get the HTTP status code of the Error object.
      Returns:
      The HTTP status code.
    • getMessage

      public String getMessage()
      Get the error message (description of the cause) of the Error object.
      Returns:
      A short description of the cause of the error.
    • builder

      public Error.Builder builder()
      Description copied from interface: IModelObject
      Create a builder for building an instance of a model object.
      The type of the builder and its methods depend on its corresponding implementation.
      Returns:
      A builder object.