Home / Class/ PollingTimeoutError Class — typescript-sdk Architecture

PollingTimeoutError Class — typescript-sdk Architecture

Architecture documentation for the PollingTimeoutError class in async.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  974acb8f_117c_6dd5_04e0_25a9a6f58dba["PollingTimeoutError"]
  dcc90704_6e64_7ec2_9ee4_aaa5200dbd17["async.ts"]
  974acb8f_117c_6dd5_04e0_25a9a6f58dba -->|defined in| dcc90704_6e64_7ec2_9ee4_aaa5200dbd17
  82fb29bc_b8dd_9c73_2b6f_e150f1da1d18["constructor()"]
  974acb8f_117c_6dd5_04e0_25a9a6f58dba -->|method| 82fb29bc_b8dd_9c73_2b6f_e150f1da1d18

Relationship Graph

Source Code

src/async.ts lines 125–134

export class PollingTimeoutError extends Error {
  constructor(
    public readonly jobId: string,
    public readonly timeoutMs: number,
    public readonly attempts: number
  ) {
    super(`Polling timed out for job ${jobId} after ${timeoutMs}ms (${attempts} attempts)`);
    this.name = 'PollingTimeoutError';
  }
}

Domain

Defined In

Frequently Asked Questions

What is the PollingTimeoutError class?
PollingTimeoutError is a class in the typescript-sdk codebase, defined in src/async.ts.
Where is PollingTimeoutError defined?
PollingTimeoutError is defined in src/async.ts at line 125.

Analyze Your Own Codebase

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

Try Supermodel Free