Module: PactFfi::PluginConsumer

Extended by:
FFI::Library
Defined in:
lib/pact/ffi/plugin_consumer.rb

Constant Summary collapse

CreateMockServerErrors =

/* -1 A null pointer was received -2 The pact JSON could not be parsed -3 The mock server could not be started -4 The method panicked -5 The address is not valid -6 Could not create the TLS configuration with the self-signed certificate */

Hash[
  'NULL_POINTER' => -1,
  'JSON_PARSE_ERROR' => -2,
  'MOCK_SERVER_START_FAIL' => -3,
  'CORE_PANIC' => -4,
  'ADDRESS_NOT_VALID' => -5,
  'TLS_CONFIG' => -6,
]
PluginFunctionResult =
Hash[
  'RESULT_OK' => 0,
  'RESULT_FAILED' => 1,
]