Exception: Caseblocks::Errors::GeneralError

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

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GeneralError.

Since:

  • 0.1.0



4
5
6
7
# File 'lib/caseblocks/errors/general_error.rb', line 4

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

Instance Method Details

#paramsObject

Since:

  • 0.1.0



8
9
10
# File 'lib/caseblocks/errors/general_error.rb', line 8

def params
  @options
end