Exception: Thoreau::OverriddenActionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/thoreau/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ OverriddenActionError

Returns a new instance of OverriddenActionError.



9
10
11
# File 'lib/thoreau/errors.rb', line 9

def initialize(msg = nil)
  super "Extra action/subject provided for tests. Actions/subjects must be specified EITHER in the `suite` or within `test_cases` (not both)."
end