WpErrorSchema
katanakit-js / WpErrorSchema
Variable: WpErrorSchema
Section titled “Variable: WpErrorSchema”const WpErrorSchema: ZodObject< { code: ZodString; data: ZodOptional< ZodObject< { status: ZodNumber; }, $catchall<ZodUnknown> > >; message: ZodString; }, $catchall<ZodUnknown>>;Defined in: schemas/wordpress.schema.ts:597
WordPress REST API error response.