exceptionravendbravendb4

How can I find which exception(s) maybe raised by RAVENDB methods?


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.


Solution

  • 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