Function pact_verifier_ffi::verify[][src]

#[no_mangle]
pub unsafe extern "C" fn verify(args: *const c_char) -> i32
Expand description

External interface to verifier a provider

  • args - the same as the CLI interface, except newline delimited

Errors

Errors are returned as non-zero numeric values.

ErrorDescription
1The verification process failed, see output for errors
2A null pointer was received
3The method panicked
4Invalid arguments were provided to the verification process

Safety

Exported functions are inherently unsafe. Deal.