Skip to main content

ob_create_error

Function ob_create_error 

Source
pub unsafe extern "C" fn ob_create_error(
    status: ob_status,
    message: *const c_char,
    function: *const c_char,
    args: *const c_char,
    exception_type: ob_exception_type,
) -> *mut ob_error
Expand description

@brief Create a new error object.

@param status The error status. @param message The error message. @param function The name of the API function that caused the error. @param args The error parameters. @param exception_type The type of exception that caused the error. @return ob_error* The new error object.