Exception: Teaspoon::UnknownSuite

Inherits:
Error
  • Object
show all
Defined in:
lib/teaspoon/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ UnknownSuite

Returns a new instance of UnknownSuite.



79
80
81
82
83
# File 'lib/teaspoon/exceptions.rb', line 79

def initialize(msg_or_options)
  super(build_message(msg_or_options) do |options|
    "Unknown suite configuration: expected \"#{options[:name]}\" to be a configured suite."
  end)
end