Exception: Berkshelf::BerkshelfError
- Inherits:
-
StandardError
- Object
- StandardError
- Berkshelf::BerkshelfError
- Defined in:
- lib/berkshelf/errors.rb
Direct Known Subclasses
BerksfileNotFound, BerksfileReadError, ChefConnectionError, ClientKeyFileNotFound, CommunitySiteError, ConfigExists, ConfigNotFound, ConfigurationError, ConstraintNotSatisfied, CookbookNotFound, CookbookSyntaxError, CookbookValidationFailure, DuplicateLocationDefined, DuplicateSourceDefined, EnvironmentNotFound, ExplicitCookbookNotFound, GitError, GitNotFound, InsufficientPrivledges, InternalError, InvalidChefAPILocation, InvalidConfiguration, InvalidCookbookFiles, InvalidGitURI, InvalidSiteShortnameError, InvalidVersionConstraint, LicenseNotAllowed, LicenseNotFound, LockfileParserError, MismatchedCookbookName, NoSolution, NoVersionForConstraints, OutdatedCookbookSource, UnknownCompressionType, 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 |