class Oso::Polar::DuplicateClassAliasError
Public Class Methods
new(name:, old:, new:)
click to toggle source
@param as [String] @param old [Class] @param new [Class]
Calls superclass method
Oso::Polar::Error::new
# File lib/oso/polar/errors.rb, line 74 def initialize(name:, old:, new:) super("Attempted to alias #{new} as '#{name}', but #{old} already has that alias.") end