Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"./extensions/ext-blob-s3",
"./extensions/ext-bundler-esbuild",
"./extensions/ext-cache-redis",
"./extensions/ext-redis",
"./extensions/ext-css-lightning",
"./extensions/ext-css-purgecss",
"./extensions/ext-css-tailwind",
Expand Down Expand Up @@ -104,6 +105,7 @@
"./workflow/blob": "./src/workflow/blob/index.ts",
"./workflow/worker": "./src/workflow/worker/index.ts",
"./workflow/claude-code": "./src/workflow/claude-code/index.ts",
"./workflow/claude-code/types": "./src/workflow/claude-code/types.ts",
"./workflow/claude-code/react": "./src/workflow/claude-code/react/index.ts",
"./workflow/discovery": "./src/workflow/discovery/index.ts",
"./schemas": "./src/schemas/index.ts",
Expand All @@ -121,6 +123,8 @@
"./observability": "./src/observability/index.ts",
"./observability/sentry": "./src/observability/sentry.ts",
"./observability/otlp-setup": "./src/observability/tracing/otlp-setup.ts",
"./errors/general": "./src/errors/error-registry/general.ts",
"./errors/module": "./src/errors/error-registry/module.ts",
"./utils": "./src/utils/index.ts",
"./utils/logger": "./src/utils/logger/index.ts",
"./release-assets": "./src/release-assets/index.ts",
Expand All @@ -134,11 +138,13 @@
"./embedding": "./src/embedding/index.ts",
"./knowledge": "./src/knowledge/index.ts",
"./extensions": "./src/extensions/index.ts",
"./extensions/types": "./src/extensions/types.ts",
"./extensions/llm": "./src/extensions/llm/index.ts",
"./extensions/auth": "./src/extensions/auth/index.ts",
"./extensions/bundler": "./src/extensions/bundler/index.ts",
"./extensions/cache": "./src/extensions/cache/index.ts",
"./extensions/content": "./src/extensions/content/index.ts",
"./extensions/distributed": "./src/extensions/distributed/index.ts",
"./extensions/contracts": "./src/extensions/contracts.ts",
"./extensions/compat": "./src/extensions/compat/index.ts",
"./extensions/first-party-import": "./src/extensions/first-party-import.ts",
Expand All @@ -151,6 +157,7 @@
"./extensions/schema": "./src/extensions/schema/index.ts",
"./extensions/observability": "./src/extensions/observability/index.ts",
"./extensions/websocket": "./src/extensions/websocket/index.ts",
"./platform/env": "./src/platform/compat/process/env.ts",
"./testing": "./src/testing/index.ts",
"./testing/assert": "./src/testing/assert.ts",
"./testing/bdd": "./src/testing/bdd.ts",
Expand Down Expand Up @@ -197,6 +204,7 @@
"veryfront/workflow/runtime": "./src/workflow/runtime/index.ts",
"veryfront/workflow/worker": "./src/workflow/worker/index.ts",
"veryfront/workflow/claude-code": "./src/workflow/claude-code/index.ts",
"veryfront/workflow/claude-code/types": "./src/workflow/claude-code/types.ts",
"veryfront/workflow/claude-code/react": "./src/workflow/claude-code/react/index.ts",
"veryfront/workflow/discovery": "./src/workflow/discovery/index.ts",
"veryfront/utils": "./src/utils/index.ts",
Expand All @@ -214,6 +222,7 @@
"veryfront/observability/otlp-setup": "./src/observability/tracing/otlp-setup.ts",
"veryfront/observability/sentry": "./src/observability/sentry.ts",
"veryfront/platform/esbuild-init": "./src/platform/compat/esbuild-init.ts",
"veryfront/platform/env": "./src/platform/compat/process/env.ts",
"veryfront/platform/path": "./src/platform/compat/path/index.ts",
"veryfront/platform/http": "./src/platform/compat/http/index.ts",
"veryfront/cli": "./cli/main.ts",
Expand All @@ -233,6 +242,8 @@
"veryfront/cache": "./src/cache/index.ts",
"veryfront/security": "./src/security/index.ts",
"veryfront/errors": "./src/errors/index.ts",
"veryfront/errors/general": "./src/errors/error-registry/general.ts",
"veryfront/errors/module": "./src/errors/error-registry/module.ts",
"veryfront/trigger/target": "./src/trigger/target.ts",
"veryfront/trigger/validation": "./src/trigger/validation.ts",
"veryfront/issues": "./src/issues/index.ts",
Expand All @@ -244,6 +255,7 @@
"veryfront/tool/schema": "./src/tool/schema/index.ts",
"veryfront/agent/composition": "./src/agent/composition/index.ts",
"veryfront/extensions": "./src/extensions/index.ts",
"veryfront/extensions/types": "./src/extensions/types.ts",
"veryfront/testing": "./src/testing/index.ts",
"veryfront/testing/assert": "./src/testing/assert.ts",
"veryfront/testing/bdd": "./src/testing/bdd.ts",
Expand All @@ -252,6 +264,7 @@
"veryfront/extensions/bundler": "./src/extensions/bundler/index.ts",
"veryfront/extensions/cache": "./src/extensions/cache/index.ts",
"veryfront/extensions/content": "./src/extensions/content/index.ts",
"veryfront/extensions/distributed": "./src/extensions/distributed/index.ts",
"veryfront/extensions/compat": "./src/extensions/compat/index.ts",
"veryfront/extensions/contracts": "./src/extensions/contracts.ts",
"veryfront/extensions/first-party-import": "./src/extensions/first-party-import.ts",
Expand Down Expand Up @@ -285,6 +298,8 @@
"#veryfront/eval/agent-service": "./src/eval/agent-service.ts",
"#veryfront/metrics": "./src/metrics/index.ts",
"#veryfront/extensions/eval": "./src/extensions/eval/index.ts",
"#veryfront/extensions/distributed": "./src/extensions/distributed/index.ts",
"#veryfront/extensions/distributed/": "./src/extensions/distributed/",
"#veryfront/extensions/first-party-import.ts": "./src/extensions/first-party-import.ts",
"#veryfront/html": "./src/html/index.ts",
"#veryfront/mcp": "./src/mcp/index.ts",
Expand Down
6 changes: 6 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions docs/api-reference/veryfront/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,49 @@ throw INVALID_WIDGET.create({ detail: "The widget id is malformed." });
| `UserFriendlyErrorSolution` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/user-friendly/error-catalog.ts#L3) |
| `VeryfrontErrorData` | Discriminated union for serializable error data. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/veryfront-error.ts#L69) |
| `VeryfrontErrorOptions` | Options for VeryfrontError constructor | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/types.ts#L91) |

## Deep imports

These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.

### `veryfront/errors/general`

```ts
import { AUTHENTICATION_REQUIRED, FILE_NOT_FOUND, GENERAL_REGISTRY } from "veryfront/errors/general";
```

#### Components

| Name | Description | Source |
|------|-------------|--------|
| `AUTHENTICATION_REQUIRED` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L11) |
| `FILE_NOT_FOUND` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L27) |
| `GENERAL_REGISTRY` | Registry fragment for GENERAL errors (slug → definition). | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L111) |
| `INITIALIZATION_ERROR` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L60) |
| `INPUT_VALIDATION_FAILED` | HTTP request input validation failures (replaces ValidationError) | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L86) |
| `INVALID_ARGUMENT` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L43) |
| `NOT_SUPPORTED` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L68) |
| `PERMISSION_DENIED` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L19) |
| `PROJECT_SOURCE_EMPTY` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L94) |
| `RESOURCE_NOT_FOUND` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L35) |
| `SECURITY_VIOLATION` | Path traversal / secure-fs violations (replaces SecurityError) | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L77) |
| `TIMEOUT_ERROR` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L52) |
| `UNKNOWN_ERROR` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/general.ts#L3) |

### `veryfront/errors/module`

```ts
import { CIRCULAR_DEPENDENCY, DEPENDENCY_MISSING, IMPORT_RESOLUTION_ERROR } from "veryfront/errors/module";
```

#### Components

| Name | Description | Source |
|------|-------------|--------|
| `CIRCULAR_DEPENDENCY` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L19) |
| `DEPENDENCY_MISSING` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L35) |
| `IMPORT_RESOLUTION_ERROR` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L11) |
| `INVALID_IMPORT` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L27) |
| `MODULE_NOT_FOUND` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L3) |
| `MODULE_REGISTRY` | Registry fragment for MODULE errors (slug → definition). | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L52) |
| `VERSION_MISMATCH` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/errors/error-registry/module.ts#L43) |
Loading