Exception: Base::UnkownError

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

Overview

An error when we don’t know what happened.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ UnkownError

Returns a new instance of UnkownError.



8
9
10
# File 'lib/base/errors/unkown_error.rb', line 8

def initialize(error)
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



6
7
8
# File 'lib/base/errors/unkown_error.rb', line 6

def error
  @error
end