Function regorust::regoErrorSize

source ยท
pub unsafe extern "C" fn regoErrorSize(
    rego: *mut regoInterpreter,
) -> regoSize
Expand description

@brief Returns the number of bytes needed to store a 0-terminated string representing the most recent error message. @details The value returned by this function can be used to allocate a buffer to pass to ::regoError. @return The number of bytes needed to store the error message.