Class OpenAIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.stefanbratanov.jvm.openai.OpenAIException
- All Implemented Interfaces:
Serializable
Exceptions will be based on Error Codes - OpenAI
API
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
statusCode
public int statusCode() -
errorMessage
-
error
-