PactEx.MismatchError exception (pact_ex v0.1.0)

Copy Markdown View Source

The mock server did not see the requests the interactions describe.

:mismatches holds the decoded mismatch maps reported by the native library. The most common "type" values are:

  • "missing-request" - an expected request never arrived.
  • "request-not-found" - a request arrived that no interaction expects.
  • "request-mismatch" - a request matched a path and method but not the rest. Its "mismatches" key lists the differences.

Summary

Types

t()

@type t() :: %PactEx.MismatchError{__exception__: true, mismatches: [map()]}