Typo errors inputs, outputs
See original GitHub issueIf somebody does a typo in inputs
or outputs
when defining a component, there is no error or warning. I think @uvchik mentioned this error at the last dev meeting. Maybe this error happens more often, especialley to new users and might have fatal consequences. Eventually the total calculation is running without error and a sink or a source or whatever might be not connected to the energy system.
How could this be implemented? Do we need an error message in every component, which defines inputs
and outputs
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Typographical error - Wikipedia
A typographical error (often shortened to typo), also called a misprint, is a mistake made in the typing of printed (or electronic) material....
Read more >Handling errors in input and output operations - IBM
You can use any of the following techniques for intercepting and handling certain input or output conditions or errors:.
Read more >Typo (Typographical Error) | What is One Example of a Typo?
Typo is short for typographical error. It is a simplistic way to say there there is a mistake when something is typed or...
Read more >Common mistakes with input and output
Common mistakes with input and output · Putting a newline at the end of the format string · Putting other characters in the...
Read more >Chapter 11 – Input/Output and Exception Handling
Exception handling provides a flexible mechanism for passing control from the point of error detection to a handler that can deal with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are right there wasn’t an issue, just the PR and the PR does not explain the basic idea. So we may connect this issue with the PR and leave it open until the PR is finished.
In PR #663 we started with Sinks without outputs and Sources without inputs and Transformer with less than one input or less than one output. But we can use it for everything that might be wrong in most use cases. Feel free to add ideas to the PR.