mistralrs::llguidance::ffi

Function llg_get_error

pub extern "C" fn llg_get_error(cc: &LlgConstraint) -> *const i8
Expand description

Get the error message from the constraint or null if there is no error. After it returns a non-null value, it will always return it until the constraint is freed using llg_free_constraint() (at which point the pointer will be invalid).