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

Version Path
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/lib/oj/error.rb
oj-3.14.2 lib/oj/error.rb
oj-3.14.1 lib/oj/error.rb
oj-3.14.0 lib/oj/error.rb
oj-3.13.23 lib/oj/error.rb
oj-3.13.22 lib/oj/error.rb
oj-3.13.21 lib/oj/error.rb
oj-3.13.20 lib/oj/error.rb
oj-3.13.19 lib/oj/error.rb
oj-3.13.18 lib/oj/error.rb
oj-3.13.17 lib/oj/error.rb
oj-3.13.16 lib/oj/error.rb
oj-3.13.15 lib/oj/error.rb
oj-3.13.14 lib/oj/error.rb
oj-3.13.13 lib/oj/error.rb
oj-3.13.12 lib/oj/error.rb
oj-3.13.11 lib/oj/error.rb
oj-3.13.10 lib/oj/error.rb
oj-3.13.9 lib/oj/error.rb
oj-3.13.8 lib/oj/error.rb