1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
.. _exceptions:
**********
Exceptions
**********
.. currentmodule:: cairo
When a cairo function or method call fails an cairo.Error exception, or a
subclass thereof, is raised.
cairo.Error()
=============
.. autoexception:: Error
:members:
:undoc-members:
.. autoexception:: CairoError
:members:
:undoc-members:
.. exception:: MemoryError
:bases: :exc:`Error`, :exc:`python3:MemoryError`
.. versionadded:: 1.15
Prior to 1.15 :exc:`python3:MemoryError` was raised instead of this
type.
.. exception:: IOError
:bases: :exc:`Error`, :exc:`python3:IOError`
.. versionadded:: 1.15
Prior to 1.15 :exc:`python3:IOError` was raised instead of this
type.
|