Exception: Yake::Errors::CodeNotFound
- Defined in:
- lib/yake/errors.rb
Overview
Error not found by code
Instance Method Summary collapse
-
#initialize(code = nil) ⇒ CodeNotFound
constructor
A new instance of CodeNotFound.
Constructor Details
#initialize(code = nil) ⇒ CodeNotFound
Returns a new instance of CodeNotFound.
12 13 14 |
# File 'lib/yake/errors.rb', line 12 def initialize(code = nil) super("No Error class for code '#{code}'") end |