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