lib/mocha/stubbing_error.rb
require 'mocha/error_with_filtered_backtrace' module Mocha # Exception raised when stubbing a particular method is not allowed. # # @see Configuration.prevent class StubbingError < ErrorWithFilteredBacktrace; end end
Source Files
- lib/mocha.rb
- lib/mocha/any_instance_method.rb
- lib/mocha/api.rb
- lib/mocha/argument_iterator.rb
- lib/mocha/backtrace_filter.rb
- lib/mocha/block_matcher.rb
- lib/mocha/cardinality.rb
- lib/mocha/central.rb
- lib/mocha/change_state_side_effect.rb
- lib/mocha/class_methods.rb
- lib/mocha/configuration.rb
- lib/mocha/debug.rb
- lib/mocha/deprecation.rb
- lib/mocha/detection/minitest.rb
- lib/mocha/detection/test_unit.rb
- lib/mocha/error_with_filtered_backtrace.rb
- lib/mocha/exception_raiser.rb
- lib/mocha/expectation.rb
- lib/mocha/expectation_error.rb
- lib/mocha/expectation_error_factory.rb
- lib/mocha/expectation_list.rb
- lib/mocha/hooks.rb
- lib/mocha/in_state_ordering_constraint.rb
- lib/mocha/inspect.rb
- lib/mocha/instance_method.rb
- lib/mocha/integration/assertion_counter.rb
- lib/mocha/integration/minitest.rb
- lib/mocha/integration/minitest/adapter.rb
- lib/mocha/integration/minitest/exception_translation.rb
- lib/mocha/integration/monkey_patcher.rb
- lib/mocha/integration/test_unit.rb
- lib/mocha/integration/test_unit/adapter.rb
- lib/mocha/invocation.rb
- lib/mocha/is_a.rb
- lib/mocha/logger.rb
- lib/mocha/macos_version.rb
- lib/mocha/method_matcher.rb
- lib/mocha/minitest.rb
- lib/mocha/mock.rb
- lib/mocha/mockery.rb
- lib/mocha/names.rb
- lib/mocha/not_initialized_error.rb
- lib/mocha/object_methods.rb
- lib/mocha/parameter_matchers.rb
- lib/mocha/parameter_matchers/all_of.rb
- lib/mocha/parameter_matchers/any_of.rb
- lib/mocha/parameter_matchers/any_parameters.rb
- lib/mocha/parameter_matchers/anything.rb
- lib/mocha/parameter_matchers/base.rb
- lib/mocha/parameter_matchers/equals.rb
- lib/mocha/parameter_matchers/equivalent_uri.rb
- lib/mocha/parameter_matchers/has_entries.rb
- lib/mocha/parameter_matchers/has_entry.rb
- lib/mocha/parameter_matchers/has_key.rb
- lib/mocha/parameter_matchers/has_keys.rb
- lib/mocha/parameter_matchers/has_value.rb
- lib/mocha/parameter_matchers/includes.rb
- lib/mocha/parameter_matchers/instance_methods.rb
- lib/mocha/parameter_matchers/instance_of.rb
- lib/mocha/parameter_matchers/is_a.rb
- lib/mocha/parameter_matchers/kind_of.rb
- lib/mocha/parameter_matchers/not.rb
- lib/mocha/parameter_matchers/optionally.rb
- lib/mocha/parameter_matchers/positional_or_keyword_hash.rb
- lib/mocha/parameter_matchers/regexp_matches.rb
- lib/mocha/parameter_matchers/responds_with.rb
- lib/mocha/parameter_matchers/yaml_equivalent.rb
- lib/mocha/parameters_matcher.rb
- lib/mocha/raised_exception.rb
- lib/mocha/receivers.rb
- lib/mocha/return_values.rb
- lib/mocha/ruby_version.rb
- lib/mocha/sequence.rb
- lib/mocha/single_return_value.rb
- lib/mocha/state_machine.rb
- lib/mocha/stubbed_method.rb
- lib/mocha/stubbing_error.rb
- lib/mocha/test_unit.rb
- lib/mocha/thrower.rb
- lib/mocha/thrown_object.rb
- lib/mocha/version.rb
- lib/mocha/yield_parameters.rb