feat: browser router add custom error

This commit is contained in:
2024-11-01 00:23:21 +08:00
parent d6eb8393e0
commit c462dc31f8
6 changed files with 58 additions and 54 deletions

9
src/browser.ts Normal file
View File

@@ -0,0 +1,9 @@
export { Route, QueryRouter, QueryRouterServer } from './route.ts';
export { Rule, Schema, createSchema } from './validator/index.ts';
export type { RouteContext, RouteOpts } from './route.ts';
export type { Run } from './route.ts';
export { CustomError } from './result/error.ts';