Exception: Ignis::Collective::NetworkDirect::RDMAError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nvruby/collective/net/nd_bindings.rb

Overview

Custom RDMA error class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, code: nil) ⇒ RDMAError

Returns a new instance of RDMAError.



159
160
161
162
# File 'lib/nvruby/collective/net/nd_bindings.rb', line 159

def initialize(message, code: nil)
  super(message)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



157
158
159
# File 'lib/nvruby/collective/net/nd_bindings.rb', line 157

def code
  @code
end