enumerific 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
enumerific/__init__.py CHANGED
@@ -2,7 +2,14 @@ from enum import *
2
2
 
3
3
  from .logging import logger
4
4
 
5
- from .exceptions import EnumValueError
5
+ from .exceptions import (
6
+ EnumValueError,
7
+ EnumerationError,
8
+ EnumerationOptionError,
9
+ EnumerationSubclassingError,
10
+ EnumerationExtensibilityError,
11
+ EnumerationNonUniqueError,
12
+ )
6
13
 
7
14
  from .extensible import (
8
15
  Enumeration,
@@ -18,6 +25,7 @@ from .extensible import (
18
25
  EnumerationDictionary,
19
26
  EnumerationFlag,
20
27
  auto,
28
+ anno,
21
29
  )
22
30
 
23
31
  from .standard import Enum
enumerific/exceptions.py CHANGED
@@ -14,5 +14,9 @@ class EnumerationSubclassingError(EnumerationError):
14
14
  pass
15
15
 
16
16
 
17
+ class EnumerationExtensibilityError(EnumerationError):
18
+ pass
19
+
20
+
17
21
  class EnumerationNonUniqueError(EnumerationError):
18
22
  pass