Package com.braintrustdata.api.errors
Class BraintrustServiceException
-
- All Implemented Interfaces:
-
java.io.Serializable
public abstract class BraintrustServiceException extends BraintrustException
-
-
Constructor Summary
Constructors Constructor Description BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error, String message, Throwable cause)BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error, String message)BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error)
-
Method Summary
Modifier and Type Method Description final IntegerstatusCode()final Headersheaders()final Stringbody()final BraintrustErrorerror()-
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
-
BraintrustServiceException
BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error, String message, Throwable cause)
-
BraintrustServiceException
BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error, String message)
-
BraintrustServiceException
BraintrustServiceException(Integer statusCode, Headers headers, String body, BraintrustError error)
-
-
Method Detail
-
statusCode
final Integer statusCode()
-
error
final BraintrustError error()
-
-
-
-