class RSpec::Expectations::ExpectationNotMetError

Exception raised when an expectation fails.

@note We subclass Exception so that in a stub implementation if the user sets an expectation, it can’t be caught in their code by a bare ‘rescue`. @api public