Skip to content

Commit a40be41

Browse files
author
Sean Wilson
committed
export ValidationError class instead of just type
so can check if a thrown error is instanceof it
1 parent 72e5da7 commit a40be41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Reexport your entry components here
22
export { default as default } from "./SchemaForm.svelte";
33
export type { JSONSchema7 } from "json-schema";
4-
export type { default as ValidationError } from "./ValidationError";
4+
export { default as ValidationError } from "./ValidationError";
55
export type { default as UISchema } from "./UISchema";

0 commit comments

Comments
 (0)