Exception: Sbmt::Pact::FfiError
- Defined in:
- lib/sbmt/pact.rb
Direct Known Subclasses
Consumer::GrpcInteractionBuilder::CreateInteractionError, Consumer::GrpcInteractionBuilder::PluginInitError, Consumer::HttpInteractionBuilder::CreateInteractionError, Consumer::MessageInteractionBuilder::CreateInteractionError, Consumer::MessageInteractionBuilder::PluginInitError, Consumer::MockServer::MockServerCreateError, Consumer::MockServer::WritePactsError, Provider::BaseVerifier::VerificationError
Instance Method Summary collapse
-
#initialize(msg, reason, status) ⇒ FfiError
constructor
A new instance of FfiError.
- #message ⇒ Object
Constructor Details
#initialize(msg, reason, status) ⇒ FfiError
Returns a new instance of FfiError.
15 16 17 18 19 20 21 |
# File 'lib/sbmt/pact.rb', line 15 def initialize(msg, reason, status) super(msg) @msg = msg @reason = reason @status = status end |
Instance Method Details
#message ⇒ Object
23 24 25 |
# File 'lib/sbmt/pact.rb', line 23 def "FFI error: reason: #{@reason}, status: #{@status}, message: #{@msg}" end |