Exception: Oso::Polar::UnexpectedPolarTypeError
- Inherits:
-
PolarRuntimeError
- Object
- RuntimeError
- Error
- Error
- PolarRuntimeError
- Oso::Polar::UnexpectedPolarTypeError
- Defined in:
- lib/oso/polar/errors.rb
Overview
rubocop:disable Style/Documentation
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(tag) ⇒ UnexpectedPolarTypeError
constructor
A new instance of UnexpectedPolarTypeError.
Constructor Details
#initialize(tag) ⇒ UnexpectedPolarTypeError
Returns a new instance of UnexpectedPolarTypeError.
43 44 45 46 47 48 49 |
# File 'lib/oso/polar/errors.rb', line 43 def initialize(tag) if tag == 'Expression' super(UNEXPECTED_EXPRESSION_MESSAGE) else super(tag) end end |