All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cohere.api.errors.CohereApiForbiddenError Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
/**
 * This file was auto-generated by Fern from our API Definition.
 */
package com.cohere.api.errors;

import com.cohere.api.core.CohereApiApiError;

public final class CohereApiForbiddenError extends CohereApiApiError {
    /**
     * The body of the response that triggered the exception.
     */
    private final Object body;

    public CohereApiForbiddenError(Object body) {
        super("ForbiddenError", 403, body);
        this.body = body;
    }

    /**
     * @return the body
     */
    @java.lang.Override
    public Object body() {
        return this.body;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy