from defence360agent.contracts import config class RpcError(RuntimeError): pass class ResponseError(RpcError): pass class SocketError(RpcError): pass class ServiceStateError(SocketError): def __init__(self, state="stopped"): super().__init__( "{} service is {}.".format(config.Core.PRODUCT, state) ) class NonRootValidationError(RpcError): pass
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 497 B | 0644 |
|
exceptions.py | File | 403 B | 0644 |
|
lookup.py | File | 4.42 KB | 0644 |
|
middleware.py | File | 5.22 KB | 0644 |
|
utils.py | File | 4.28 KB | 0644 |
|
validate.py | File | 6.3 KB | 0644 |
|