/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/survey/cmd/packages/errors.py

https://github.com/misterch0c/shadowbroker · Python · 24 lines · 19 code · 0 blank · 5 comment · 0 complexity · a00e6f44830760d489d8f281a6db78f2 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_NOT_IMPLEMENTED = mcl.status.framework.ERR_START + 1
  10. ERR_MARSHAL_FAILED = mcl.status.framework.ERR_START + 2
  11. ERR_OPEN_FAILED = mcl.status.framework.ERR_START + 3
  12. ERR_QUERY_FAILED = mcl.status.framework.ERR_START + 4
  13. ERR_NOT_FOUND = 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_NOT_IMPLEMENTED: 'Not implemented on this platform',
  18. ERR_MARSHAL_FAILED: 'Marshaling data failed',
  19. ERR_OPEN_FAILED: 'Could not open packages database',
  20. ERR_QUERY_FAILED: 'Query of packages information failed',
  21. ERR_NOT_FOUND: 'No packages found',
  22. ERR_API_NOT_FOUND: 'A required API was not found',
  23. ERR_CONNECT_FAILED: 'Failed to connect to remote target'
  24. }