diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index b3d1f572fa3b9c978f59d12a035308955f7929e0..5db76fba3a937e6b26cfcd0943185c36e6f87989 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -104,7 +104,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
         -i "pandas.core.resample.Resampler.std SA01" \
         -i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
         -i "pandas.core.resample.Resampler.var SA01" \
-        -i "pandas.errors.IntCastingNaNError SA01" \
         -i "pandas.errors.NullFrequencyError SA01" \
         -i "pandas.errors.NumbaUtilError SA01" \
         -i "pandas.errors.PerformanceWarning SA01" \
diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py
index 70d839d8171148323173a2c035792c95e72d5f1f..b1a338893fe0aae3174179cf0ecf984a7d3163a8 100644
--- a/pandas/errors/__init__.py
+++ b/pandas/errors/__init__.py
@@ -20,6 +20,16 @@ class IntCastingNaNError(ValueError):
     """
     Exception raised when converting (``astype``) an array with NaN to an integer type.
 
+    This error occurs when attempting to cast a data structure containing non-finite
+    values (such as NaN or infinity) to an integer data type. Integer types do not
+    support non-finite values, so such conversions are explicitly disallowed to
+    prevent silent data corruption or unexpected behavior.
+
+    See Also
+    --------
+    DataFrame.astype : Method to cast a pandas DataFrame object to a specified dtype.
+    Series.astype : Method to cast a pandas Series object to a specified dtype.
+
     Examples
     --------
     >>> pd.DataFrame(np.array([[1, np.nan], [2, 3]]), dtype="i8")