Messages
ErrorMessage
Class to store error messages for the Peter Explains CLI.
Source code in peter_explains/messages.py
get_random_message()
staticmethod
Returns a random error message from the list of error messages.
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
A random error message. |
LoadingMessage
Class to store loading messages for the Peter Explains CLI.
Source code in peter_explains/messages.py
get_random_message()
staticmethod
Returns a random message from the available messages.
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
A random message. |