Exception: Librarian::Posix::CommandFailure
- Defined in:
- lib/librarian/posix.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
45 46 47 |
# File 'lib/librarian/posix.rb', line 45 def command @command end |
#status ⇒ Object
Returns the value of attribute status.
45 46 47 |
# File 'lib/librarian/posix.rb', line 45 def status @status end |
Class Method Details
.raise!(command, status, message) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/librarian/posix.rb', line 36 def raise!(command, status, ) ex = new() ex.command = command ex.status = status ex.set_backtrace caller raise ex end |