noc.core.error

Module Contents

noc.core.error.NO_ERROR = 0
noc.core.error.ERR_UNKNOWN = 1
noc.core.error.ERR_RPC_MIN_ERROR = 9000
noc.core.error.ERR_RPC_MAX_ERROR = 9999
noc.core.error.ERR_RPC_UNKNOWN = 9000
noc.core.error.ERR_RPC_HTTP_ERROR = 9001
noc.core.error.ERR_RPC_EXCEPTION = 9002
noc.core.error.ERR_RPC_NO_SERVICE = 9003
noc.core.error.ERR_RPC_REMOTE_ERROR = 9004
noc.core.error.ERR_SA_MIN_ERROR = 10000
noc.core.error.ERR_SA_MAX_ERROR = 10999
noc.core.error.ERR_CLI_UNKNOWN = 10000
noc.core.error.ERR_CLI_AUTH_FAILED = 10001
noc.core.error.ERR_CLI_NO_SUPER_COMMAND = 10002
noc.core.error.ERR_CLI_LOW_PRIVILEGES = 10003
noc.core.error.ERR_CLI_SSH_PROTOCOL_ERROR = 10004
noc.core.error.ERR_CLI_CONNECTION_REFUSED = 10005
noc.core.error.ERR_SCRIPT_UNKNOWN = 10100
noc.core.error.ERR_SCRIPT_SYNTAX = 10101
noc.core.error.ERR_SCRIPT_OPERATION = 10102
noc.core.error.ERR_SCRIPT_NOT_SUPPORTED = 10103
noc.core.error.ERR_SCRIPT_UNEXPECTED_RESULT = 10104
noc.core.error.ERR_SNMP_UNKNOWN = 10200
noc.core.error.ERR_SNMP_TIMEOUT = 10201
noc.core.error.ERR_SNMP_FATAL_TIMEOUT = 10202
noc.core.error.ERR_HTTP_UNKNOWN = 10300
noc.core.error.ERR_MML_UNKNOWN = 10400
noc.core.error.ERR_MML_CONNECTION_REFUSED = 10401
noc.core.error.ERR_MML_AUTH_FAILED = 10402
noc.core.error.ERR_MML_BAD_RESPONSE = 10403
noc.core.error.ERR_DS_UNKNOWN = 10500
noc.core.error.ERR_DS_BAD_CODE = 10501
noc.core.error.ERR_DS_PARSE_ERROR = 10502
noc.core.error.ERR_MIB_UNKNOWN = 10600
noc.core.error.ERR_MIB_NOT_FOUND = 10601
noc.core.error.ERR_MIB_MISSED = 10602
noc.core.error.ERR_MIB_TOOL_MISSED = 10603
noc.core.error.ERR_RTSP_UNKNOWN = 10700
noc.core.error.ERR_RTSP_CONNECTION_REFUSED = 10701
noc.core.error.ERR_RTSP_AUTH_FAILED = 10702
noc.core.error.ERR_RTSP_BAD_RESPONSE = 10703
exception noc.core.error.NOCError(msg=None, code=None)

Bases: exceptions.Exception

default_msg
default_code