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 8 9class PyAsn1Error(Exception): 10 """Create pyasn1 exception object 11 12 The `PyAsn1Error` exception represents generic, usually fatal, error. 13 """ 14 15 16class ValueConstraintError(PyAsn1Error): 17 """Create pyasn1 exception object 18 19 The `ValueConstraintError` exception indicates an ASN.1 value 20 constraint violation. 21 """ 22 23 24class SubstrateUnderrunError(PyAsn1Error): 25 """Create pyasn1 exception object 26 27 The `SubstrateUnderrunError` exception indicates insufficient serialised 28 data on input of a deserialisation routine. 29 """ 30