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



10
11
12
13
14
15
16
17
18
# File 'lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/exceptions.rb', line 10

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