Exception: Magick::BinMagick::BinMagickError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rmagick/bin_magick/bin_magick_error.rb

Overview

Base error class.

Direct Known Subclasses

DestroyedImageError, IOError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ BinMagickError

Returns a new instance of BinMagickError.



11
12
13
14
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 11

def initialize(message)
  @message = message
  super
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



9
10
11
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 9

def message
  @message
end