Exception: Berkshelf::BerkshelfError
- Inherits:
-
StandardError
- Object
- StandardError
- Berkshelf::BerkshelfError
- Defined in:
- lib/berkshelf/errors.rb
Direct Known Subclasses
AmbiguousCookbookName, BerksConfigNotFound, BerksfileNotFound, BerksfileReadError, CommandUnsuccessful, ConfigExists, ConfigurationError, ConstraintNotSatisfied, CookbookNotFound, CookbookSyntaxError, DuplicateLocationDefined, DuplicateSourceDefined, GitError, GitNotFound, InternalError, InvalidChefAPILocation, InvalidConfiguration, InvalidGitURI, NoSolution, NoVersionForConstraints, UnknownGitHubProtocol, UploadFailure
Class Method Summary collapse
Class Method Details
.status_code(code) ⇒ Object
7 8 9 10 |
# File 'lib/berkshelf/errors.rb', line 7 def status_code(code) define_method(:status_code) { code } define_singleton_method(:status_code) { code } end |