Exception: Nxo::Error::UnmappedAddressError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/nxo/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address) ⇒ UnmappedAddressError

Returns a new instance of UnmappedAddressError.



44
45
46
47
# File 'lib/nxo/error.rb', line 44

def initialize(address)
  super("No segment at 0x#{address.to_s(166)}")
  @address = address
end

Instance Attribute Details

#addressObject (readonly)

Returns the value of attribute address.



49
50
51
# File 'lib/nxo/error.rb', line 49

def address
  @address
end