Exception: Algorithmia::Errors::AlgorithmError
- Defined in:
- lib/algorithmia/errors.rb
Instance Attribute Summary collapse
-
#stacktrace ⇒ Object
readonly
Returns the value of attribute stacktrace.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, response, stacktrace) ⇒ AlgorithmError
constructor
A new instance of AlgorithmError.
Constructor Details
#initialize(message, response, stacktrace) ⇒ AlgorithmError
Returns a new instance of AlgorithmError.
14 15 16 17 |
# File 'lib/algorithmia/errors.rb', line 14 def initialize(, response, stacktrace) super(, response) @stacktrace = stacktrace end |
Instance Attribute Details
#stacktrace ⇒ Object (readonly)
Returns the value of attribute stacktrace.
13 14 15 |
# File 'lib/algorithmia/errors.rb', line 13 def stacktrace @stacktrace end |