MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / CommandError

Class CommandError

keepercommander/error.py:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32class CommandError(Error):
33 def __init__(self, command, message):
34 super().__init__(message)
35 self.command = command
36
37 def __str__(self):
38 if self.command:
39 return f'{self.command}: {self.message}'
40 else:
41 return super().__str__()
42

Callers 10

_get_valueMethod · 0.90
resolve_pam_idp_configFunction · 0.90
_get_record_keyFunction · 0.90
_dispatch_idp_actionFunction · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
validate_reportingMethod · 0.70
enforceMethod · 0.70

Calls

no outgoing calls

Tested by 2

_get_valueMethod · 0.72