Kory
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kory
openai
/
io.kory.openai.shared.error
/
OpenAIException
Open
AIException
class
OpenAIException
(
val
status
:
Int
,
val
type
:
String
?
,
val
param
:
String
?
,
val
code
:
String
?
,
val
message
:
String
)
:
AIException
,
Mapper
<
KoryProviderException
>
Members
Constructors
Open
AIException
Link copied to clipboard
constructor
(
status
:
Int
,
type
:
String
?
,
param
:
String
?
,
code
:
String
?
,
message
:
String
)
Properties
cause
Link copied to clipboard
expect
open
val
cause
:
Throwable
?
code
Link copied to clipboard
val
code
:
String
?
message
Link copied to clipboard
open
override
val
message
:
String
param
Link copied to clipboard
val
param
:
String
?
status
Link copied to clipboard
val
status
:
Int
type
Link copied to clipboard
val
type
:
String
?
Functions
map
Link copied to clipboard
open
override
fun
map
(
)
:
KoryProviderException
to
Kory
Provider
Exception
Link copied to clipboard
fun
toKoryProviderException
(
)
:
KoryProviderException