Intercepting COM API Connection Errors

Hi,

I was wondering if there's a way to use VAF event handlers to catch connection errors and modify the message or handle it before it gets thrown — and if not, is there another way to do it ?

Thank you in advance!

  • If the user cannot connect to the vault...  Then how would code running on the vault be able to customise the error message?

    I do not believe that you can alter this message at all.  If you are connecting from an application (i.e. not a user using the desktop application or similar) then, if you're using a server-style API connection, you could trap connection exceptions and throw your own dialog...  But I do not believe you can change it in any other situations.