MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / LGBM_SetLastError

Function LGBM_SetLastError

include/LightGBM/c_api.h:1055–1057  ·  view source on GitHub ↗

! * \brief Set string message of the last error. * \param msg Error message */

Source from the content-addressed store, hash-verified

1053 * \param msg Error message
1054 */
1055inline void LGBM_SetLastError(const char* msg) {
1056 std::strcpy(LastErrorMsg(), msg);
1057}
1058
1059#endif // LIGHTGBM_C_API_H_

Callers 1

LGBM_APIHandleExceptionFunction · 0.50

Calls 1

LastErrorMsgFunction · 0.70

Tested by

no test coverage detected