Doc: Fix wrong exception used in example. (GH-26572)

1 file changed