When interacting with the scanner, we usually don't want to block the main thread Instead we want to e.g. update the UI and use the result once it is available
Handles an exception by executing the custom exception handler lambda passed to setCustomExceptionHandler. If no custom handler is set, the exception is logged to Android's logcat.