Exception: HMap::TruncatedFileError

Inherits:
NotAHMapOError show all
Defined in:
lib/hmap/exceptions.rb

Overview

Raised when a file is too short to be a valid HMap file.

Instance Method Summary collapse

Constructor Details

#initializeTruncatedFileError

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