ErrorHandler Typedef
[C]
typedef void (__cdecl* FlowSshC_ErrorHandler)(
void* handlerData,
unsigned int flags,
wchar_t const* desc);
Parameters
- handlerData: Data passed to the initiating call.
- flags: An ErrorFlags enumeration.
InCall: Internal error occurred during a FlowSshC function call. Your ErrorHandler implementation may throw exceptions with this flag. *
InHandler: An error (exception) occurred in one of your handlers registered with FlowSshC. Your ErrorHandler implementation must never throw exceptions in this case, as they cannot be handled by the application. ** - desc: Error description in human-readable form.
Remarks
[C++/.NET] * An Exception is thrown for InCall errors. ** The registered error handler is invoked for InHandler errors.