Homec4science

Throw better exceptions from `PhutilJSONParser`.

Authored by Joshua Spence <josh@joshuaspence.com> on Jun 20 2014, 03:55.

Description

Throw better exceptions from PhutilJSONParser.

Summary:
Ref T5297. Retrieve error context from JsonLintParsingException to provide a better exception message.

Depends on D9623.

Test Plan: Wrote and executed unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5297

Differential Revision: https://secure.phabricator.com/D9624

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jun 20 2014, 03:55
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU3bd9044d42bb: Fix the handling of empty keys in `PhutilJSONParser`.
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUf9730519f42c: Throw better exceptions from `PhutilJSONParser`. (authored by Joshua Spence <josh@joshuaspence.com>).Jun 20 2014, 03:55