Exception: PNGlitch::FormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pnglitch/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ FormatError

Returns a new instance of FormatError.



31
32
33
34
# File 'lib/pnglitch/errors.rb', line 31

def initialize filename
  m = 'The passed file seems different from a PNG file - ' + filename
  super m
end