Exception: MachO::OffsetInsertionError

Inherits:
ModificationError show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when a change at an offset is not valid.

Instance Method Summary collapse

Constructor Details

#initialize(offset) ⇒ OffsetInsertionError

Returns a new instance of OffsetInsertionError.

Parameters:

  • offset (Integer)

    the invalid offset



169
170
171
# File 'lib/macho/exceptions.rb', line 169

def initialize(offset)
  super "Insertion at offset #{offset} is not valid"
end