nipoppy.exceptions.JSONError¶
- exception nipoppy.exceptions.JSONError(e, *, fpath, hint=None)¶
Exception raised for JSON parsing errors, with context about the file path.
- Parameters:
fpath (nipoppy.env.StrOrPathLike)
hint (str | None)
- code¶
- default_hint = 'Suggested fix: Check the JSON file for syntax errors, such as missing commas or mismatched brackets.'¶