/** * Monitoring service interface * @description This service is used to capture exceptions and identify users in the monitoring service * @example */ export abstract class MonitoringService { /** * Capture an exception * @param error * @param extra */ abstract captureException( error: Error & { digest?: string }, extra?: Extra, ): unknown; /** * Identify a user in the monitoring service - used for tracking user actions * @param info */ abstract identifyUser(info: Info): unknown; }