Search the docs

↑↓ to move · Enter to open · Esc to close

Type to search every page. Results are grouped by section.

TalariaDocs
Dashboard

Docs › SDKs

View as Markdown

JavaScript errors

Capture exceptions and messages with @newtalaria/browser.

import { Talaria } from '@newtalaria/browser';
 
await Talaria.captureException(error);
await Talaria.captureMessage('something happened', 'warning');

Unhandled errors are collected after init. minLevel drops quieter messages. A disabled client ignores calls and does not throw.

For React error boundaries, use @newtalaria/react. For App Router global-error and Server Actions, use @newtalaria/nextjs.

Was this helpful?