Hello, can anyone help with how I might handle timeouts/ errors when I try and connect to an offline database using the exposed framework > Database.connect
👀 1
s
Saul Wiggin
12/08/2020, 5:24 PM
If you are connecting to a database it will be most likely through a coroutine. Try, catch and throw can be utilised in order to handle any errors. Here are the docs on Kotlin Exception handling.