I’m newbie to RAVENDB. How can I find which exception(s) maybe raised by RAVENDB methods? I’ve searched the online documentation and “Inside RAVENDB Book” without any success.
Asked
Active
Viewed 142 times
1 Answers
3
You can catch the RavenException
base class.
Here you can found all of the possible exceptions: https://github.com/ravendb/ravendb/tree/v4.0/src/Raven.Client/Exceptions

Fitzchak Yitzchaki
- 9,095
- 12
- 56
- 96
-
Thank you Fitzchak for the link. Let me explain what I realy want to know by using an example. When i open a session there are some possible exceptions. Is there any way to find all possible exceptions? – BTajahmadi Apr 30 '18 at 15:14
-
No, there is no list of possible exceptions for each method. The number of errors is too big to detail all of them. – Ayende Rahien Apr 30 '18 at 20:11