Package com.anthropic.errors
Class AnthropicServiceException
-
- All Implemented Interfaces:
-
java.io.Serializable
public abstract class AnthropicServiceException extends AnthropicException
-
-
Constructor Summary
Constructors Constructor Description AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error, String message, Throwable cause)AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error, String message)AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error)
-
Method Summary
Modifier and Type Method Description final IntegerstatusCode()final Headersheaders()final Stringbody()final AnthropicErrorerror()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AnthropicServiceException
AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error, String message, Throwable cause)
-
AnthropicServiceException
AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error, String message)
-
AnthropicServiceException
AnthropicServiceException(Integer statusCode, Headers headers, String body, AnthropicError error)
-
-
Method Detail
-
statusCode
final Integer statusCode()
-
error
final AnthropicError error()
-
-
-
-