Exception: MachO::TruncatedFileError
- Inherits:
-
NotAMachOError
- Object
- RuntimeError
- MachOError
- NotAMachOError
- MachO::TruncatedFileError
- 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
-
#initialize ⇒ TruncatedFileError
constructor
A new instance of TruncatedFileError.
Constructor Details
#initialize ⇒ TruncatedFileError
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 |