Skip to main content

Error Types

The Narada SDK raises specific exceptions for different error conditions. All errors inherit from NaradaError.

Error Handling Examples

Look at the following examples to see how to handle different errors.
Raised when operations exceed timeout limits.
Raised when using an unsupported browser.
Raised when the Chrome extension is not installed.
Raised when the extension is not signed in.
Raised when SDK initialization fails.

Retry Pattern

For transient errors, implement retry logic:

Best Practices

Catch Specific Errors

Handle specific error types rather than generic exceptions

Implement Retries

Use retry logic for timeout and initialization errors

Log Errors

Log errors with context for debugging

Graceful Degradation

Design fallback behavior when automation fails
Most errors are recoverable. Check the error message and implement appropriate retry or fallback logic.