// This file was auto-generated by Fern from our API Definition.

/**
 * The API will return an Error List for a failed request, which will contain one or more Error objects.
 */
export interface Error_ {
    /** The type is error.list */
    type: string;
    /** */
    request_id?: string;
    /** An array of one or more error objects */
    errors: Error_.Errors.Item[];
}

export namespace Error_ {
    export type Errors = Errors.Item[];

    export namespace Errors {
        export interface Item {
            /** A string indicating the kind of error, used to further qualify the HTTP response code */
            code: string;
            /** Optional. Human readable description of the error. */
            message?: string;
            /** Optional. Used to identify a particular field or query parameter that was in error. */
            field?: string;
        }
    }
}
