Skip to content

FilesystemErrorSchema

katanakit-js / FilesystemErrorSchema

const FilesystemErrorSchema: ZodObject<{
code: ZodString;
details: ZodOptional<ZodUnknown>;
message: ZodString;
path: ZodOptional<ZodString>;
}, $strip>;

Defined in: schemas/filesystem.schema.ts:23

Safe error from a filesystem operation (NodeJS.ErrnoException-shaped).