MCPcopy Create free account
hub / github.com/cppla/ServerStatus / ApiError

Class ApiError

server/manage_api.py:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21class ApiError(Exception):
22 def __init__(self, status, message, details=None):
23 super().__init__(message)
24 self.status = status
25 self.message = message
26 self.details = details
27
28
29def load_config():

Callers 12

normalize_intFunction · 0.85
validate_serverFunction · 0.85
validate_monitorFunction · 0.85
validate_sslcertFunction · 0.85
validate_watchdogFunction · 0.85
validate_configFunction · 0.85
read_bodyFunction · 0.85
signal_sergateFunction · 0.85
find_collection_itemFunction · 0.85
routeMethod · 0.85
require_authMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected