Exception: Nxo::Error::UnmappedAddressError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Nxo::Error::UnmappedAddressError
- Defined in:
- lib/nxo/error.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
Instance Method Summary collapse
-
#initialize(address) ⇒ UnmappedAddressError
constructor
A new instance of UnmappedAddressError.
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
#address ⇒ Object (readonly)
Returns the value of attribute address.
49 50 51 |
# File 'lib/nxo/error.rb', line 49 def address @address end |