MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/automaton.py:1179–1183  ·  view source on GitHub ↗
(self, msg, state=None, result=None)

Source from the content-addressed store, hash-verified

1177
1178 class AutomatonException(Exception):
1179 def __init__(self, msg, state=None, result=None):
1180 # type: (str, Optional[Message], Optional[str]) -> None
1181 Exception.__init__(self, msg)
1182 self.state = state
1183 self.result = result
1184
1185 class AutomatonError(AutomatonException):
1186 pass

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected