Dolda2000 GitWeb
/
pdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Throw more informative error classes from perf.
[pdm.git]
/
pdm
/
perf.py
diff --git
a/pdm/perf.py
b/pdm/perf.py
index
7c93c85
..
7c0d561
100644
(file)
--- a/
pdm/perf.py
+++ b/
pdm/perf.py
@@
-51,6
+51,13
@@
__all__ = ["attrinfo", "simpleattr", "valueattr", "eventobj",
"staticdir", "event", "procevent", "startevent",
"finishevent"]
"staticdir", "event", "procevent", "startevent",
"finishevent"]
+class error(Exception):
+ pass
+class nosuchname(LookupError, error):
+ pass
+class nosuchproto(error):
+ pass
+
class attrinfo(object):
"""The return value of the `attrinfo' method on `attr' objects as
described in L{pdm.srv.perf}.
class attrinfo(object):
"""The return value of the `attrinfo' method on `attr' objects as
described in L{pdm.srv.perf}.