Class

BrowserApiError

BrowserApiError(message, context)

Browser-specific errors. Thrown when browser API operations fail.

Constructor

# new BrowserApiError(message, context)

Create a browser API error

Parameters:
Name Type Description
message string

Error message

context object

Additional context information (optional)

View Source src/core/errors.js, line 275

Extends

Methods

# toString() → {string}

Convert error to formatted string with context information

Overrides:

View Source src/core/errors.js, line 28

Formatted error message including context

string

# static fileReaderNotAvailable() → {BrowserApiError}

Create error for unavailable FileReader API Occurs when browser doesn't support FileReader

View Source src/core/errors.js, line 292

Configured error instance

# static parseFileError(originalError) → {BrowserApiError}

Create error for file parsing failure in browser Occurs when file read or CSV parse fails

Parameters:
Name Type Description
originalError Error

The underlying error that occurred

View Source src/core/errors.js, line 310

Configured error instance

# static streamingNotSupported() → {BrowserApiError}

Create error for unsupported streaming API in browser Occurs when browser doesn't support ReadableStream

View Source src/core/errors.js, line 329

Configured error instance