Exception: Berkshelf::BerkshelfError
- Inherits:
-
StandardError
- Object
- StandardError
- Berkshelf::BerkshelfError
- Defined in:
- lib/berkshelf/errors.rb
Direct Known Subclasses
BerksfileNotFound, BerksfileReadError, ChefConnectionError, CommunitySiteError, ConfigNotFound, ConstraintNotSatisfied, CookbookNotFound, CookbookSyntaxError, CookbookValidationFailure, DependencyNotFound, DependencyNotInstalled, DeprecatedError, DuplicateDemand, DuplicateDependencyDefined, EnvironmentNotFound, GitError, GraphvizCommandFailed, GraphvizNotInstalled, InsufficientPrivledges, InternalError, InvalidConfiguration, InvalidCookbookFiles, InvalidSourceURI, LicenseNotFound, LockfileNotFound, LockfileOutOfSync, LockfileParserError, MismatchedCookbookName, NoAPISourcesDefined, NoSolutionError, NotACookbook, OutdatedDependency, PackageError, RedirectLimitReached, UnknownCompressionType, UploadFailure
Class Method Summary collapse
Class Method Details
.set_status_code(code) ⇒ Object
5 6 7 8 |
# File 'lib/berkshelf/errors.rb', line 5 def set_status_code(code) define_method(:status_code) { code } define_singleton_method(:status_code) { code } end |