FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pointers.py/src/pointers/exceptions.py at master · ZeroIntensity/pointers.py · GitHub
ZeroIntensity
pointers.py
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pointers.py
/
src
/
pointers
/
exceptions.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
47 lines (29 loc) · 1.11 KB
Breadcrumbs
pointers.py
/
src
/
pointers
/
exceptions.py
Copy path
File metadata and controls
47 lines (29 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
41
42
43
44
45
46
47
__all__
=
(
"AllocationError"
,
"DereferenceError"
,
"FreedMemoryError"
,
"InvalidSizeError"
,
"InvalidBindingParameter"
,
"NullPointerError"
,
"InvalidVersionError"
,
"SegmentViolation"
,
"VariableLifetimeError"
,
)
class
AllocationError
(
Exception
):
"""Raised when a memory allocation fails."""
class
DereferenceError
(
Exception
):
"""Raised when dereferencing an address fails."""
# noqa
class
FreedMemoryError
(
Exception
):
"""Raised when trying to perform an operation on freed memory."""
class
InvalidSizeError
(
Exception
):
"""Raised when trying to move an object of the wrong size to an allocation."""
# noqa
class
InvalidBindingParameter
(
Exception
):
"""Raised when an invalid type is passed to a binding."""
class
NullPointerError
(
Exception
):
"""Raised when a pointer is null."""
class
InvalidVersionError
(
Exception
):
"""Python version is not high enough."""
class
SegmentViolation
(
Exception
):
"""SIGSEGV was sent to Python."""
class
VariableLifetimeError
(
Exception
):
"""Variable is no longer available."""
Back
|
FazBrowse Home
|
New Git URL