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.
Error | Description |
---|---|
1 | The verification process failed, see output for errors |
2 | A null pointer was received |
3 | The method panicked |
4 | Invalid arguments were provided to the verification process |
Safety
Exported functions are inherently unsafe. Deal.