Exception: SmarterJSON::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SmarterJSON::Error
- 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.