Class ApiError

java.lang.Object
de.saibotk.jmaw.ApiError

public class ApiError extends Object
Simple error model. This is sometimes returned by the API for requests that are invalid or eg. when the rate limit was exceeded.
Since:
1.0
  • Constructor Details

    • ApiError

      public ApiError()
  • Method Details

    • getError

      public String getError()
      Returns the error name.
      Returns:
      name of the error.
      Since:
      1.0
    • getErrorMessage

      public String getErrorMessage()
      Returns the error message.
      Returns:
      error message.
      Since:
      1.0