Exception: Apes::Errors::BaseError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/apes/errors.rb

Overview

The base error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(details = nil) ⇒ BaseError

Creates a new error.

Parameters:

  • details (Object) (defaults to: nil)

    The details of this error.



16
17
18
19
# File 'lib/apes/errors.rb', line 16

def initialize(details = nil)
  super("")
  @details = details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



11
12
13
# File 'lib/apes/errors.rb', line 11

def details
  @details
end