
ee.carlrobert.llm.client.openai.completion.ApiResponseError Maven / Gradle / Ivy
package ee.carlrobert.llm.client.openai.completion;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiResponseError implements BaseApiResponseError {
private final ErrorDetails error;
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
public ApiResponseError(@JsonProperty("error") ErrorDetails error) {
this.error = error;
}
public ErrorDetails getError() {
return error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy