commonMain.com.xebia.functional.openai.errors.ResponseSerializerError.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
package com.xebia.functional.openai.errors
data class ResponseSerializerError(
override val message: String,
override val cause: Throwable?,
val info: ResponseErrorInfo,
) : Exception(message, cause)
data class ResponseErrorInfo(
val requestUrl: String,
val requestMethod: String,
val requestBody: String,
val responseStatus: Int,
val responseHeaders: String,
val responseBody: String
)