Homec4science

Provide a better error message when a user enters a Conduit parameter string…

Authored by epriestley <git@epriestley.com> on Oct 14 2011, 19:50.

Description

Provide a better error message when a user enters a Conduit parameter string without quotes around it (and similar)

Summary: See D1010. The API uniformly requires JSON, which is good for
strictness and predictablity but can be bad for UEX, especially considering that
we silently continue after failing to decode things. Toss the user a lifeline
when they make this common mistake.

Test Plan: Ran API calls with invalid and valid inputs. Invalid inputs gave me a
reasonable error message.

Reviewers: davidreuss, jungejason, nh, tuomaspelkonen, aran

Reviewed By: nh

CC: aran, nh

Differential Revision: 1012

Details

Committed
epriestley <git@epriestley.com>Oct 21 2011, 20:54
Pushed
aubortJan 31 2017, 17:16
Parents
rPH13eee1a344e9: Add test to check all symbols can be loaded
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHabb39d06a20e: Provide a better error message when a user enters a Conduit parameter string… (authored by epriestley <git@epriestley.com>).Oct 21 2011, 20:54