Skip to Content
MCP Platform DocumentationAPI ReferenceFunctionstrackError

Function: trackError()

trackError(error, context): void

Track an error to Datadog RUM. Includes context about where the error originated.

Parameters


error

unknown


context

ErrorContext

Returns

void

Last updated on