However, the error message is quite misleading
# exposed
p
However, the error message is quite misleading
t
I will change exception type and message to
IlegalStateException("Please call Database.connect() before using this code")