Exception: PngCheck::CorruptPngError
- Inherits:
-
StandardError
- Object
- StandardError
- PngCheck::CorruptPngError
- Defined in:
- lib/pngcheck.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg, sts = STATUS_MAJOR_ERROR) ⇒ CorruptPngError
constructor
A new instance of CorruptPngError.
- #status ⇒ Object
Constructor Details
#initialize(msg, sts = STATUS_MAJOR_ERROR) ⇒ CorruptPngError
Returns a new instance of CorruptPngError.
17 18 19 20 |
# File 'lib/pngcheck.rb', line 17 def initialize(msg, sts = STATUS_MAJOR_ERROR) super(msg) @status = sts end |
Instance Method Details
#status ⇒ Object
22 23 24 |
# File 'lib/pngcheck.rb', line 22 def status @status end |