Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

error.py 709B

1234567891011121314151617181920212223242526272829
  1. #
  2. # This file is part of pyasn1 software.
  3. #
  4. # Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
  5. # License: http://snmplabs.com/pyasn1/license.html
  6. #
  7. class PyAsn1Error(Exception):
  8. """Create pyasn1 exception object
  9. The `PyAsn1Error` exception represents generic, usually fatal, error.
  10. """
  11. class ValueConstraintError(PyAsn1Error):
  12. """Create pyasn1 exception object
  13. The `ValueConstraintError` exception indicates an ASN.1 value
  14. constraint violation.
  15. """
  16. class SubstrateUnderrunError(PyAsn1Error):
  17. """Create pyasn1 exception object
  18. The `SubstrateUnderrunError` exception indicates insufficient serialised
  19. data on input of a deserialisation routine.
  20. """