-
Notifications
You must be signed in to change notification settings - Fork 5
SMError
class SMTypeError(Exception)CLass focused on catching types that aren't accepted.
Arguments:
Exception (Exception):
def __init__(type: type, message: str = " is not accepted.") -> NoneClass constructor.
Arguments:
-
typetype - type that has not been accepted -
messagestr, optional - message. Defaults to " is not accepted.".
class SMSizeError(Exception)Class focused on catching over resizing when data are updated.
Arguments:
Exception (Exception):
def __init__(
message: str = "size of new value exceeds the previous one.") -> NoneCLass constructor.
Arguments:
-
messagestr, optional - message. Defaults to "size of new value exceeds the previous one.".
class SMMultiInputError(Exception)class focused on catching the fact that value adn path are initialized or not.
Arguments:
Exception (Exception):
def __init__(message: str = "value xor path must be None.") -> NoneClass constructor.
Arguments:
-
messagestr, optional - message. Defaults to None.
class SMNotDefined(Exception)Class focused on catching an attempt to access an unintialized shared memory.
Arguments:
Exception (Exception):
def __init__(name: str, message: str = None) -> NoneClass constructor.
Arguments:
-
namestr - shared memory name -
messagestr, optional - message. Defaults to None.
class SMManagerName(Exception)Class focused on catching an attempt to access an unintialized shared memory.
Arguments:
Exception (Exception):
def __init__(name: str, message: str = None) -> NoneClass constructor.
Arguments:
-
namestr - shared memory name -
messagestr, optional - message. Defaults to None.
class SMAlreadyExist(Exception)Class focused on catching an attempt to create an intialized shared memory.
Arguments:
Exception (Exception):
def __init__(name: str, message: str = None) -> NoneClass constructor.
Arguments:
-
namestr - shared memory name -
messagestr, optional - message. Defaults to None.
class SMEncoding(Exception)Class focused on catching an attempt to create an intialized shared memory.
Arguments:
Exception (Exception):
##Constructor
def __init__(name: str, message: str = None) -> NoneClass constructor.
Arguments:
-
namestr - shared memory name -
messagestr, optional - message. Defaults to None.
class SMNameLength(Exception)Class focused on catching an attempt to create a shared memory with a name exceeding 14 characters.
Arguments:
Exception (Exception):
def __init__(name: str, message: str = None) -> NoneClass constructor.
Arguments:
-
namestr - shared memory name -
messagestr, optional - message. Defaults to None.