Debian Codegraph @

docs/reference/exceptions.rst

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