intercom-client
Version:
Official Node bindings to the Intercom API
28 lines (27 loc) • 886 B
TypeScript
/**
* 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: "error.list";
/** */
request_id?: string;
/** An array of one or more error objects */
errors: Error_.Errors.Item[];
}
export declare namespace Error_ {
type Errors = Errors.Item[];
namespace Errors {
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;
}
}
}