Exception: Tabulatr::RequestDataNotIncludedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tabulatr/utility/request_data_not_included_error.rb

Class Method Summary collapse

Class Method Details

.raise_error(method, object) ⇒ Object

Raises:

  • (self)


4
5
6
# File 'lib/tabulatr/utility/request_data_not_included_error.rb', line 4

def self.raise_error(method, object)
  raise self, "You requested '#{method}' on '#{object}' but there was no such method included in your TabulatrData"
end