Exception: PictureHandler::Exceptions::WrongArgument
- Inherits:
-
CustomMessage
- Object
- StandardError
- CustomMessage
- PictureHandler::Exceptions::WrongArgument
- Defined in:
- lib/picture_handler/exceptions.rb
Instance Method Summary collapse
-
#initialize(method) ⇒ WrongArgument
constructor
A new instance of WrongArgument.
Methods inherited from CustomMessage
Constructor Details
#initialize(method) ⇒ WrongArgument
Returns a new instance of WrongArgument.
35 36 37 |
# File 'lib/picture_handler/exceptions.rb', line 35 def initialize(method) @data = "The argument(s) you provided for the method: \"#{method}\" are incomplete or wrong." end |