INNER CODE UNIT · TypeScript

ActionNotFoundError

hyperbrowserai/HyperAgent · src/agent/actions/index.ts:17

export class ActionNotFoundError extends Error {
  constructor(actionType: string) {
    super(`Action type "${actionType}" not found in the action registry`);
    this.name = "ActionNotFoundError";

    // Maintains proper stack trace for where our error was thrown (only available on V8)
    if (Error.captureStackTrace) {
      Error.captureStackTrace(this, ActionNotFoundError);
    }
  }
}

const DEFAULT_ACTIONS = [
  // Navigation actions
  GoToURLActionDefinition,
  // PageBackActionDefinition,
  // PageForwardActionDefinition,
  RefreshPageActionDefinition,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…