class RSpec::Expectations::ExpectationNotMetError

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