Exception: SmarterJSON::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/smarter_json/errors.rb

Overview

Single base for everything this gem raises — ‘rescue SmarterJSON::Error` catches both read (process / process_file) and write (generate) failures. This file is required before parser.rb and generator.rb so the subclasses below can inherit from Error at load time.

Direct Known Subclasses

GenerateError, ParseError