File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 3535The module ``Exceptions`` contains all structured errors that are raised by pyVHDLModel. Besides a default error
3636message in english, each exception object contains one or multiple references to the exception's context.
3737"""
38- from sys import version_info
39- from typing import List
40-
4138from pyTooling .Decorators import export , readonly
4239
4340from pyVHDLModel .Symbol import Symbol
4744class VHDLModelException (Exception ):
4845 """Base-class for all exceptions (errors) raised by pyVHDLModel."""
4946
50- # WORKAROUND: for Python <3.11
51- # Implementing a dummy method for Python versions before
52- __notes__ : List [str ]
53- if version_info < (3 , 11 ): # pragma: no cover
54- def add_note (self , message : str ) -> None :
55- try :
56- self .__notes__ .append (message )
57- except AttributeError :
58- self .__notes__ = [message ]
59-
6047
6148@export
6249class LibraryExistsInDesignError (VHDLModelException ):
You can’t perform that action at this time.
0 commit comments