Exception: Teaspoon::UnknownCoverage

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

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ UnknownCoverage

Returns a new instance of UnknownCoverage.



87
88
89
90
91
# File 'lib/teaspoon/exceptions.rb', line 87

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