/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/security/cmd/eventlogclear/errors.py

https://github.com/misterch0c/shadowbroker · Python · 24 lines · 19 code · 0 blank · 5 comment · 0 complexity · 1c233743e45d5146df8f4c74be18e806 MD5 · raw file

  1. # uncompyle6 version 2.9.10
  2. # Python bytecode 2.7 (62211)
  3. # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
  4. # [GCC 6.2.0 20161005]
  5. # Embedded file name: errors.py
  6. import mcl.status
  7. ERR_SUCCESS = mcl.status.MCL_SUCCESS
  8. ERR_INVALID_PARAM = mcl.status.framework.ERR_START
  9. ERR_MARSHAL_FAILED = mcl.status.framework.ERR_START + 1
  10. ERR_NOT_IMPLEMENTED = mcl.status.framework.ERR_START + 2
  11. ERR_EVENTLOGKEY_ERROR = mcl.status.framework.ERR_START + 3
  12. ERR_OPENLOG_FAILED = mcl.status.framework.ERR_START + 4
  13. ERR_CLEARLOG_FAILED = mcl.status.framework.ERR_START + 5
  14. ERR_API_NOT_FOUND = mcl.status.framework.ERR_START + 6
  15. ERR_CONNECT_FAILED = mcl.status.framework.ERR_START + 7
  16. errorStrings = {ERR_INVALID_PARAM: 'Invalid parameter(s)',
  17. ERR_MARSHAL_FAILED: 'Marshaling data failed',
  18. ERR_NOT_IMPLEMENTED: 'Not implemented on this platform',
  19. ERR_EVENTLOGKEY_ERROR: 'Specified eventlog name not found in registry',
  20. ERR_OPENLOG_FAILED: 'Open of event log failed',
  21. ERR_CLEARLOG_FAILED: 'Clear of event log failed',
  22. ERR_API_NOT_FOUND: 'Required API was not found',
  23. ERR_CONNECT_FAILED: 'Connect to remote target failed'
  24. }