Exception: MachO::TruncatedFileError

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

Overview

Raised when a file is too short to be a valid Mach-O file.

Instance Method Summary collapse

Constructor Details

#initializeTruncatedFileError

Returns a new instance of TruncatedFileError.



39
40
41
# File 'lib/macho/exceptions.rb', line 39

def initialize
  super "File is too short to be a valid Mach-O"
end