Exception: ConvenientService::RSpec::PrimitiveMatchers::Classes::DelegateTo::Exceptions::CallOriginalChainingIsAlreadySet

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_without_argumentsObject



15
16
17
18
19
20
21
22
23
# File 'lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/exceptions.rb', line 15

def initialize_without_arguments
  message = <<~TEXT
    Call original chaining is already set.

    Did you use `with_calling_original` or `without_calling_original` multiple times? Or a combination of them?
  TEXT

  initialize(message)
end