Exception: Oximg::ProcessingError
Overview
The executable ran and refused: an unreadable source, an unsupported format, a cap it was configured with. The message is the binary's own stderr, which already names what it refused.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Exit status: 2 is a usage or configuration error, 1 a processing failure.
Instance Method Summary collapse
-
#initialize(message, status = nil) ⇒ ProcessingError
constructor
A new instance of ProcessingError.
Constructor Details
#initialize(message, status = nil) ⇒ ProcessingError
Returns a new instance of ProcessingError.
31 32 33 34 |
# File 'lib/oximg.rb', line 31 def initialize(, status = nil) super() @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Exit status: 2 is a usage or configuration error, 1 a processing failure.
29 30 31 |
# File 'lib/oximg.rb', line 29 def status @status end |