Package com.slack.api.methods
Class SlackApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.slack.api.methods.SlackApiException
- All Implemented Interfaces:
Serializable
Represents an error returned from Slack Web APIs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlackApiException(SlackConfig config, okhttp3.Response response, String responseBody) SlackApiException(okhttp3.Response response, String responseBody) SlackApiException(okhttp3.Response response, String responseBody, SlackApiErrorResponse error) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SlackApiException
-
SlackApiException
-
SlackApiException
public SlackApiException(okhttp3.Response response, String responseBody, SlackApiErrorResponse error)
-
-
Method Details