Exception: Prolenea::Error::ProleneaError

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, options = {}) ⇒ ProleneaError

Returns a new instance of ProleneaError.



6
7
8
9
# File 'lib/prolenea/errors.rb', line 6

def initialize(message, options = {})
  @options = options
  super message
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/prolenea/errors.rb', line 4

def options
  @options
end