Changeset 058f58e for fedd/service_error.py
- Timestamp:
- Nov 20, 2008 7:14:58 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- cfabc40
- Parents:
- c922f23
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/service_error.py
rc922f23 r058f58e 6 6 class service_error(RuntimeError): 7 7 access = 1 8 pro xy= 28 protocol= 2 9 9 req = 3 10 10 server_config = 4 … … 14 14 code_str = { 15 15 access : "Access Denied", 16 pro xy : "ProxyError",16 protocol : "Protocol Error", 17 17 req : "Badly Formed Request", 18 18 server_config: "Server Configuration Error", … … 23 23 str_code = dict([ (v, k) for k, v in code_str.iteritems() ]) 24 24 client_errors = ( req ) 25 server_errors = ( access, pro xy, server_config, internal)25 server_errors = ( access, protocol, server_config, internal) 26 26 27 27 def __init__(self, code=None, desc=None, from_string=None):
Note: See TracChangeset
for help on using the changeset viewer.