Exception: Rookout::Exceptions::RookCrcMismatchException

Inherits:
ToolException
  • Object
show all
Defined in:
lib/rookout/exceptions.rb

Instance Attribute Summary

Attributes inherited from ToolException

#parameters

Instance Method Summary collapse

Constructor Details

#initialize(filepath, expected, calculated) ⇒ RookCrcMismatchException

Returns a new instance of RookCrcMismatchException.



185
186
187
188
189
190
191
192
# File 'lib/rookout/exceptions.rb', line 185

def initialize filepath, expected, calculated
  super "Line CRC32s do not match! path: #{filepath}, expected: #{expected}, calculated:#{calculated}",
        {
          "filepath" => filepath,
          "expected" => expected,
          "calculated" => calculated
        }
end