ApplicationErrorReporter
public protocol ApplicationErrorReporter : AnyObject
Application error reporting trait
The application that’s consuming application-services implements this via a UniFFI callback
interface, then calls set_application_error_reporter()
to setup a global
ApplicationErrorReporter.
-
Send an error report to a Sentry-like error reporting system
type_name should be used to group errors together
Declaration
Swift
func reportError(typeName: String, message: String)
-
Send a breadcrumb to a Sentry-like error reporting system
Declaration
Swift
func reportBreadcrumb(message: String, module: String, line: UInt32, column: UInt32)