class Renogen::Exceptions::StratagyNotFound

Raised when an extraction stratagy for a given key can not be found

Attributes

missing_stratagy[R]

Public Class Methods

new(type) click to toggle source
Calls superclass method
# File lib/renogen/exceptions/stratagy_not_found.rb, line 7
def initialize(type)
  @missing_stratagy = type
  super
end

Public Instance Methods

message() click to toggle source

Friendly error message

@return [String]

# File lib/renogen/exceptions/stratagy_not_found.rb, line 15
def message
  "Error: Stratagy type '#{missing_stratagy}' not found"
end