forked from p15670423/monkey
Island: Move SizeError to its own file
This commit is contained in:
parent
0111dea47f
commit
4e755bbd2f
|
@ -15,3 +15,4 @@ from .data_store_encryptor import (
|
||||||
reset_datastore_encryptor,
|
reset_datastore_encryptor,
|
||||||
)
|
)
|
||||||
from .encryption_key_types import EncryptionKey32Bytes
|
from .encryption_key_types import EncryptionKey32Bytes
|
||||||
|
from .errors import SizeError
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
class SizeError(Exception):
|
from . import SizeError
|
||||||
"""
|
|
||||||
Raised when an argument is not of the expected size during object creation.
|
|
||||||
"""
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class EncryptionKey32Bytes(bytes):
|
class EncryptionKey32Bytes(bytes):
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
class SizeError(Exception):
|
||||||
|
"""
|
||||||
|
Raised when an argument is not of the expected size during object creation.
|
||||||
|
"""
|
||||||
|
|
||||||
|
pass
|
Loading…
Reference in New Issue