Exception: Algorithmia::Errors::AlgorithmError

Inherits:
Error
  • Object
show all
Defined in:
lib/algorithmia/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#response

Instance Method Summary collapse

Constructor Details

#initialize(message, response, stacktrace) ⇒ AlgorithmError


14
15
16
17
# File 'lib/algorithmia/errors.rb', line 14

def initialize(message, response, stacktrace)
  super(message, response)
  @stacktrace = stacktrace
end

Instance Attribute Details

#stacktraceObject (readonly)

Returns the value of attribute stacktrace


13
14
15
# File 'lib/algorithmia/errors.rb', line 13

def stacktrace
  @stacktrace
end