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

Unhelpful error message #5

Open
breqdev opened this issue May 22, 2023 · 1 comment
Open

Unhelpful error message #5

breqdev opened this issue May 22, 2023 · 1 comment

Comments

@breqdev
Copy link
Owner

breqdev commented May 22, 2023

roslib/src/core/Topic.ts

Lines 60 to 62 in 4edc1e4

if (!options.ros || !options.name || !options.messageType) {
throw new Error("'ros' is required for Topic");
}

The error should indicate which of the three parameters is unspecified.

@clins1994
Copy link

Agreed

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

No branches or pull requests

2 participants