diff --git a/python/docs/source/development/contributing.rst b/python/docs/source/development/contributing.rst index ad61ba95d6956..3eddddabb96cd 100644 --- a/python/docs/source/development/contributing.rst +++ b/python/docs/source/development/contributing.rst @@ -246,9 +246,9 @@ To throw a standardized user-facing error or exception, developers should specif Usage ~~~~~ -1. Check if an appropriate error class already exists in `error_classes.py`. +1. Check if an appropriate error class already exists in `Error classes in PySpark `_. If true, use the error class and skip to step 3. -2. Add a new class to `error_classes.py`; keep in mind the invariants below. +2. Add a new class to `error_classes.py `_; keep in mind the invariants below. 3. Check if the exception type already extends `PySparkException`. If true, skip to step 5. 4. Mix `PySparkException` into the exception.