Hello, can anyone help with how I might handle tim...
# getting-started
m
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
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.
a
there is a withTimeout suspend function