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/util/errors.js, line 274

Methods

# static fileReaderNotAvailable() → {BrowserApiError}

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

View Source src/util/errors.js, line 291

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/util/errors.js, line 309

Configured error instance