Exception: HMap::TruncatedFileError
- Inherits:
-
NotAHMapOError
- Object
- RuntimeError
- HMapError
- NotAHMapOError
- HMap::TruncatedFileError
- Defined in:
- lib/hmap/exceptions.rb
Overview
Raised when a file is too short to be a valid HMap file.
Instance Method Summary collapse
-
#initialize ⇒ TruncatedFileError
constructor
A new instance of TruncatedFileError.
Constructor Details
#initialize ⇒ TruncatedFileError
Returns a new instance of TruncatedFileError.
14 15 16 |
# File 'lib/hmap/exceptions.rb', line 14 def initialize super 'File is too short to be a valid HMap' end |