SentryService
SentryService
Service for capturing errors and messages to Sentry.
Signature
class SentryService {
constructor(options: SentryPluginOptions)
captureException(exception: Error) => ;
captureMessage(message: string, captureContext?: CaptureContext) => ;
startSpan(context: StartSpanOptions) => ;
}
constructor
method
(options: SentryPluginOptions) => SentryServicecaptureException
method
(exception: Error) => captureMessage
method
(message: string, captureContext?: CaptureContext) => Captures a message
startSpan
method
(context: StartSpanOptions) => Starts new span