Exception: Fox::FoxError
- Inherits:
-
StandardError
- Object
- StandardError
- Fox::FoxError
- Defined in:
- lib/fox/error/errors.rb
Direct Known Subclasses
CookbookNotFound, DependencyNotFound, DeprecatedError, DuplicateDependencyDefined, FoxfileNotFound, FoxfileReadError, InsufficientPrivledges, InternalError, InvalidConfiguration, LoadTemplateError, LockfileNotFound, LockfileOutOfSync, LockfileParserError, NoAPISourcesDefined, NoSolutionError
Class Method Summary collapse
Class Method Details
.status_code(code) ⇒ Object
12 13 14 15 |
# File 'lib/fox/error/errors.rb', line 12 def status_code(code) define_method(:status_code) { code } define_singleton_method(:status_code) { code } end |