Sha256: 154eef08f36161fcb9e6d1e0393932861bed97b608a10c7a06f88fa0dd0880eb
Contents?: true
Size: 693 Bytes
Versions: 8
Compression:
Stored size: 693 Bytes
Contents
module Ox # Base error class for Ox errors. class Error < StandardError end # Error # An Exception that is raised as a result of a parse error while parsing a XML document. class ParseError < Error end # ParseError # An Exception that is raised as a result of an invalid argument. class ArgError < Error end # ArgError # An Exception that is raised as a result of invalid XML syntax. class SyntaxError < Error end # An Exception raised if a path is not valid. class InvalidPath < Error # Create a new instance with the +path+ specified. def initialize(path) super("#{path.join('/')} is not a valid location.") end end # InvalidPath end # Ox
Version data entries
8 entries across 8 versions & 1 rubygems