123456789_123456789_123456789_123456789_123456789_

Exception: RSpec::Expectations::ExpectationNotMetError

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Exception
Instance Chain:
self, Exception
Inherits: Exception
  • Object
Defined in: rspec-expectations/lib/rspec/expectations.rb

Overview

Note:

We subclass Exception so that in a stub implementation if

Exception raised when an expectation fails.

the user sets an expectation, it can’t be caught in their code by a bare rescue.