lib/antelope/ace/errors.rb in antelope-0.1.8 vs lib/antelope/ace/errors.rb in antelope-0.1.9

- old
+ new

@@ -35,7 +35,14 @@ # Primarily used in the {Grammar} (specifically # {Grammar::Generation}), if the grammar could not determine the # generator to use for the generation, it raises this. class NoTypeError < Error end + + # Primarily used in the {Compiler}, it is raised if it encounters + # a directive it cannot handle. This is more to warn the + # developer that a directive they wrote may not be accepted by any + # generator. + class NoDirectiveError < Error + end end end