Semparse Docs
SDK Reference@workspace/semparse-sdk-coreFunctions

Function: captureException()

@workspace/semparse-sdk-core


@workspace/semparse-sdk-core / captureException

Function: captureException()

captureException(input): Promise<SemparseCaptureResult | undefined>

Captures an exception through the active client. Returns undefined when the SDK has not been initialized.

Parameters

input

SemparseBreadcrumb[]

contexts?

SemparseContextMap

error

unknown

level?

SemparseSeverity

tags?

SemparseTagMap

user?

SemparseUser

Returns

Promise<SemparseCaptureResult | undefined>

On this page