import * as z from "zod/v3"; import { EntityErrorObject } from "../components/entityerrorobject.js"; import { GustoEmbeddedError } from "./gustoembeddederror.js"; /** * Unprocessable Entity * * @remarks * * This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. */ export type UnprocessableEntityErrorData = { errors: Array; }; /** * Unprocessable Entity * * @remarks * * This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. */ export declare class UnprocessableEntityError extends GustoEmbeddedError { errors: Array; /** The original data that was passed to this error instance. */ data$: UnprocessableEntityErrorData; constructor(err: UnprocessableEntityErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const UnprocessableEntityError$inboundSchema: z.ZodType; //# sourceMappingURL=unprocessableentityerror.d.ts.map