Exception: Rubychy::Errors::MissingParamsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubychy.rb

Overview

Error returned when a required param is missing

Instance Method Summary collapse

Constructor Details

#initialize(parameter, action) ⇒ MissingParamsError

Returns a new instance of MissingParamsError.



34
35
36
# File 'lib/rubychy.rb', line 34

def initialize(parameter, action)
  super("Missing parameter `#{parameter}` for `#{action}`")
end