Skip to main content

Examples dealing with gRPC error responses

Source Code​

https://github.com/pact-foundation/pact-plugins/tree/main/examples

These examples take the Area Calculator Example and modify it to return an unimplemented response for one of the shapes. There are two consumer projects (one in Java and one in Rust), and the same for the providers. They are setup to test sending the unimplemented shape message and assert that the correct gRPC status and message is returned.