class Rookout::Exceptions::RookCrcMismatchException

Public Class Methods

new(filepath, expected, calculated) click to toggle source
Calls superclass method Rookout::Exceptions::ToolException::new
# File lib/rookout/exceptions.rb, line 154
def initialize filepath, expected, calculated
  super "Line CRC32s do not match! path: #{filepath}, expected: #{expected}, calculated:#{calculated}",
        {
          "filepath" => filepath,
          "expected" => expected,
          "calculated" => calculated
        }
end