-
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.") -> None
Class constructor.
Arguments:
-
type
type - type that has not been accepted -
message
str, 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.") -> None
CLass constructor.
Arguments:
-
message
str, 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.") -> None
Class constructor.
Arguments:
-
message
str, 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) -> None
Class constructor.
Arguments:
-
name
str - shared memory name -
message
str, 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) -> None
Class constructor.
Arguments:
-
name
str - shared memory name -
message
str, 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) -> None
Class constructor.
Arguments:
-
name
str - shared memory name -
message
str, 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) -> None
Class constructor.
Arguments:
-
name
str - shared memory name -
message
str, 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) -> None
Class constructor.
Arguments:
-
name
str - shared memory name -
message
str, optional - message. Defaults to None.