Error Event

Fires if an unhandled error occurs during an event.

Syntax

ANSI (Cross Platform)
virtual int FireError(CBDriveErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } CBDriveErrorEventParams; Unicode (Windows) virtual INT FireError(CBDriveErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } CBDriveErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_CBDRIVE_ERROR 6

virtual INT CBFSSTORAGE_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);

Remarks

This event fires if an unhandled error occurs during another event. Developers can use this information to help track down unhandled errors in an application's event handlers.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 C++ Edition - Version 20.0 [Build 8031]