class Oso::Polar::UnexpectedPolarTypeError

Public Class Methods

new(tag) click to toggle source
Calls superclass method Oso::Polar::Error::new
# File lib/oso/polar/errors.rb, line 45
def initialize(tag)
  if tag == 'Expression'
    super(UNEXPECTED_EXPRESSION_MESSAGE)
  else
    super(tag)
  end
end