mnGetErrorCommand

This returns the DarkNet command that caused the error e.g. “mnStart”.

This command should only be used when EM_SAVE error mode is enabled. For more information on error modes see “Error Reporting”.

C++ users: the memory for the returned string is managed by DarkNet and is guaranteed to remain unchanged and available until the next error occurs. This means that you do not need to deallocate the memory.

Parameters

None

Returns (Const Char*)

The DarkNet command that caused the error.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Error Reporting
(1) Miscellaneous
(0) DarkNet Help