Home / Type/ RunWithErrorHandlingParams Type — astro Architecture

RunWithErrorHandlingParams Type — astro Architecture

Architecture documentation for the RunWithErrorHandlingParams type/interface in controller.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  69a9fa6f_7373_e174_2263_fbe029a26be6["RunWithErrorHandlingParams"]
  417f2af6_8a2f_2b06_192e_b74a580ea934["controller.ts"]
  69a9fa6f_7373_e174_2263_fbe029a26be6 -->|defined in| 417f2af6_8a2f_2b06_192e_b74a580ea934
  style 69a9fa6f_7373_e174_2263_fbe029a26be6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/vite-plugin-astro-server/controller.ts lines 87–92

interface RunWithErrorHandlingParams {
	controller: DevServerController;
	pathname: string;
	run: () => Promise<any>;
	onError: (error: unknown) => Error | undefined;
}

Frequently Asked Questions

What is the RunWithErrorHandlingParams type?
RunWithErrorHandlingParams is a type/interface in the astro codebase, defined in packages/astro/src/vite-plugin-astro-server/controller.ts.
Where is RunWithErrorHandlingParams defined?
RunWithErrorHandlingParams is defined in packages/astro/src/vite-plugin-astro-server/controller.ts at line 87.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free