nipoppy.exceptions.JSONError

exception nipoppy.exceptions.JSONError(e, *, fpath, hint=None)

Exception raised for JSON parsing errors, with context about the file path.

Parameters:
code
default_hint = 'Suggested fix: Check the JSON file for syntax errors, such as missing commas or mismatched brackets.'