Sha256: bb278341d96082d42a7d39522627234a6611038114e6400bbd0b9f91ffd82a5e
Contents?: true
Size: 631 Bytes
Versions: 26
Compression:
Stored size: 631 Bytes
Contents
module Oj # Inherit Error class from StandardError. Error = Class.new(StandardError) # Following classes inherit from the Error class. # ----------------------------------------------- # An Exception that is raised as a result of a parse error while parsing a JSON document. ParseError = Class.new(Error) # An Exception that is raised as a result of a path being too deep. DepthError = Class.new(Error) # An Exception that is raised if a file fails to load. LoadError = Class.new(Error) # An Exception that is raised if there is a conflict with mimicking JSON MimicError = Class.new(Error) end # Oj
Version data entries
26 entries across 26 versions & 2 rubygems