question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typo errors inputs, outputs

See original GitHub issue

If 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
uvchikcommented, Jan 8, 2020

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.

1reaction
uvchikcommented, Jan 8, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found