lib/authoreyes/parser.rb in authoreyes-0.2.1 vs lib/authoreyes/parser.rb in authoreyes-0.2.2

- old
+ new

@@ -7,12 +7,12 @@ module Authoreyes # Parses an authorization configuration file in the authorization DSL and # constructs a data model of its contents. module Parser # Signals that the specified file to load was not found. - class DSLFileNotFoundError < Exception; end + class DSLFileNotFoundError < RuntimeError; end # Signals errors that occur while reading and parsing an authorization DSL - class DSLError < Exception; end + class DSLError < RuntimeError; end # Signals errors in the syntax of an authorization DSL. class DSLSyntaxError < DSLError; end end end