There was an error while loading. Please reload this page.
1 parent e5d4fa2 commit de50ef7Copy full SHA for de50ef7
1 file changed
Doc/library/turtle.rst
@@ -2571,6 +2571,16 @@ Public classes
2571
* ``a.rotate(angle)`` rotation
2572
2573
2574
+Exceptions
2575
+==========
2576
+
2577
+.. exception:: TurtleGraphicsError
2578
2579
+ Raised when an invalid turtle graphics operation is requested, such as
2580
+ using an unsupported shape or an invalid color value.
2581
+ This exception inherits from :exc:`Exception`.
2582
2583
2584
.. _turtle-explanation:
2585
2586
Explanation
0 commit comments