Exception: Jeckle::NoSuchAPIError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- Jeckle::NoSuchAPIError
- Defined in:
- lib/jeckle/errors.rb
Instance Method Summary collapse
-
#initialize(api) ⇒ NoSuchAPIError
constructor
A new instance of NoSuchAPIError.
Constructor Details
#initialize(api) ⇒ NoSuchAPIError
Returns a new instance of NoSuchAPIError.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/jeckle/errors.rb', line 5 def initialize(api) = %{The API name '#{api}' doesn't exist in Jeckle definitions. Heckle: - Hey chum, what we can do now? Jeckle: - Old chap, you need to put the right API name! Heckle: - Hey pal, tell me the APIs then! Jeckle: - Deal the trays, old thing: #{Jeckle::Setup.registered_apis.keys}. } super end |