File: expectation_error.rb

package info (click to toggle)
ruby-mocha 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,400 kB
  • ctags: 2,016
  • sloc: ruby: 10,921; makefile: 12
file content (8 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
module Mocha
  # Default exception class raised when an unexpected invocation or an unsatisfied expectation occurs.
  #
  # Authors of test libraries may use +Mocha::ExpectationErrorFactory+ to have Mocha raise a different exception.
  #
  # @see Mocha::ExpectationErrorFactory
  class ExpectationError < Exception; end
end