Exception: CookbookOmnifetch::OmnifetchError
- Inherits:
-
StandardError
- Object
- StandardError
- CookbookOmnifetch::OmnifetchError
- Defined in:
- lib/cookbook-omnifetch/exceptions.rb
Direct Known Subclasses
AbstractFunction, CookbookValidationFailure, GitError, MismatchedCookbookName, MissingConfiguration, NotACookbook, StagingAreaNotAvailable
Class Method Summary collapse
Class Method Details
.status_code(code) ⇒ Object
6 7 8 9 |
# File 'lib/cookbook-omnifetch/exceptions.rb', line 6 def status_code(code) define_method(:status_code) { code } define_singleton_method(:status_code) { code } end |