Exception: Oso::Polar::PolarFileExtensionError
- Inherits:
-
PolarRuntimeError
- Object
- RuntimeError
- Error
- Error
- PolarRuntimeError
- Oso::Polar::PolarFileExtensionError
- Defined in:
- lib/oso/polar/errors.rb
Overview
rubocop:disable Style/Documentation
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(file) ⇒ PolarFileExtensionError
constructor
A new instance of PolarFileExtensionError.
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 |