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