diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 5dc083c12ccce2b..109717dfe3a61b3 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -2571,6 +2571,16 @@ Public classes * ``a.rotate(angle)`` rotation +Exceptions +========== + +.. exception:: TurtleGraphicsError + + Raised when an invalid turtle graphics operation is requested, such as + using an unsupported shape or an invalid color value. + This exception inherits from :exc:`Exception`. + + .. _turtle-explanation: Explanation