How will I know what exceptions the library is going to throw?

For example I have this find method from a PanacheRepository

val user = find("id", id).firstResult() 

I want to catch all exceptions so that I can use the Either type from the arrow library better.

submitted by /u/steerflesh
[link] [comments]