Exception: PDF::Toolkit::ExecutionError
- Defined in:
- lib/pdf/toolkit.rb
Overview
Raised when an invocation of ‘pdftk` fails under the cover
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
Instance Method Summary collapse
-
#initialize(msg = nil, cmd = nil, exit_status = nil) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Constructor Details
#initialize(msg = nil, cmd = nil, exit_status = nil) ⇒ ExecutionError
Returns a new instance of ExecutionError.
54 55 56 57 58 |
# File 'lib/pdf/toolkit.rb', line 54 def initialize(msg = nil, cmd = nil, exit_status = nil) super(msg) @command = cmd @exit_status = exit_status end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
53 54 55 |
# File 'lib/pdf/toolkit.rb', line 53 def command @command end |
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
53 54 55 |
# File 'lib/pdf/toolkit.rb', line 53 def exit_status @exit_status end |