Exception: RSpec::Expectations::ExpectationNotMetError
- Inherits:
 - 
      Exception
        
- Object
 - Exception
 - RSpec::Expectations::ExpectationNotMetError
 
 
- Defined in:
 - 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.