Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error string propagation for global methods

Open
#74 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by tracing RegisterErrorMessage on the base class and the CWrapper handling for global methods such as CreateApp. Confirm how exceptions are caught on the component side and wrapped by the bindings; the work is done when global-method exceptions propagate their error strings through the bindings like component-method exceptions.

Written by the indexing model from the issue text.

Description

Currently, the error string propagation works by calling RegisterErrorMessage on the base class whenever an exception is caught on the component side, which is then propagated to the binding and wrapped into a new exception.

This doesn't work for the global (CWrapper) methods, as there is no base class instance to register the error message on.

We ran into this issue as our "application" object is created and initialized using a global CreateApp method, which was throwing a std::exception due to missing runtime libraries. I would suggest to add the same mechanism to the CWrapper class so it too can propagate error messages.

Dominant language
Go
Stars
54
Forks
26
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Autodesk/AutomaticComponentToolkit

All issues in Autodesk/AutomaticComponentToolkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.