Error Handler
Handle your errors automatically. Send them to sentry, output them to the console and/or write them to the error log!
Constructors
Functions
Link copied to clipboard
Enable the exception handling for uncaught exceptions.
Link copied to clipboard
Enable the 'error.log' file to which the stack traces will also be written.
Link copied to clipboard
open fun enableSentry(sentryDns: String, tracesSampleRate: Double, release: String)
Content copied to clipboard
To enable sentry reporting past the sentry dns string to this function!
Link copied to clipboard
Handle an exception and exit the program with exit a non zero exit code.
Link copied to clipboard
Internal function from the UncaughtExceptionHandler implementation.