Exception: Oso::Polar::PolarFileExtensionError

Inherits:
PolarRuntimeError show all
Defined in:
lib/oso/polar/errors.rb

Overview

rubocop:disable Style/Documentation

Instance Attribute Summary

Attributes inherited from Error

#stack_trace

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ PolarFileExtensionError

Returns a new instance of PolarFileExtensionError.



58
59
60
# File 'lib/oso/polar/errors.rb', line 58

def initialize(file)
  super("Polar files must have .polar extension. Offending file: #{file}")
end