Skip to content
0

katanakit-js / FilesystemErrorSchema

Variable: FilesystemErrorSchema ​

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

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

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

Released under the MIT License.