Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define module for messages, errors and warnings #2

Closed
panDanieleN opened this issue Nov 19, 2022 · 2 comments
Closed

Define module for messages, errors and warnings #2

panDanieleN opened this issue Nov 19, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@panDanieleN
Copy link
Collaborator

Define a specific module for messages, errors and warnings I/O:

  • predefined strings
  • templeate strings with replaceable arguments wrapped by proper function
@panDanieleN panDanieleN added the enhancement New feature or request label Nov 19, 2022
@panDanieleN panDanieleN self-assigned this Nov 19, 2022
@ndarmage
Copy link
Contributor

I recommend the py package logging to handle any kind of message during program execution.

Use of predefined python exception classes is recommended. I do not see at the moment the need of new or custom exception classes, though there might be in the future.

@panDanieleN panDanieleN reopened this Nov 21, 2022
@panDanieleN panDanieleN closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2022
@ndarmage
Copy link
Contributor

This issue is about customisation and standardisation of messages addressed to the user during the program execution. It is deferred to future versions since the current use of standard Exception classes seems satisfactory, limiting also the number of total code lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants