Class: Ignis::Solver::AMGXError
- Inherits:
-
Error
- Object
- Error
- Ignis::Solver::AMGXError
- Defined in:
- lib/nvruby/solver/amgx_bindings.rb
Overview
AMGX-specific error class
Instance Attribute Summary collapse
-
#amgx_code ⇒ Integer
readonly
AMGX return code.
Instance Method Summary collapse
-
#initialize(message, amgx_code: nil) ⇒ AMGXError
constructor
A new instance of AMGXError.
Constructor Details
#initialize(message, amgx_code: nil) ⇒ AMGXError
Returns a new instance of AMGXError.
166 167 168 169 |
# File 'lib/nvruby/solver/amgx_bindings.rb', line 166 def initialize(, amgx_code: nil) super() @amgx_code = amgx_code end |
Instance Attribute Details
#amgx_code ⇒ Integer (readonly)
Returns AMGX return code.
164 165 166 |
# File 'lib/nvruby/solver/amgx_bindings.rb', line 164 def amgx_code @amgx_code end |