MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / __init__

Method __init__

python_package/brainflow/exit_codes.py:13–16  ·  view source on GitHub ↗
(self, message: str, exit_code: int)

Source from the content-addressed store, hash-verified

11 """
12
13 def __init__(self, message: str, exit_code: int) -> None:
14 detailed_message = '%s:%d %s' % (BrainFlowExitCodes(exit_code).name, exit_code, message)
15 super(BrainFlowError, self).__init__(detailed_message)
16 self.exit_code = exit_code
17
18
19class BrainFlowExitCodes(enum.IntEnum):

Callers

nothing calls this directly

Calls 1

BrainFlowExitCodesClass · 0.70

Tested by

no test coverage detected