pub unsafe extern "C" fn regoError(
rego: *mut regoInterpreter,
buffer: *mut c_char,
size: regoSize,
) -> regoEnumExpand description
@brief Populate a buffer with the most recent error message. @details If an error code is returned from an interface function, more error information can usually be obtained by calling this function. @par The buffer must be large enough to hold the value. The size of the buffer can be determined by calling ::regoErrorSize. @param rego The interpreter. @param buffer The buffer to populate. @param size The size of the buffer. @return REGO_OK if successful, REGO_ERROR_BUFFER_TOO_SMALL otherwise.