Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How do I pass on "internal" errors to the user?

For example, if they try something and it says this in the console, can I capture that error and post it as a reportFeatureWarning?
Also, the documentation is pretty bad for try/throw/catch (for a non programmer). what is the "e" catch (e)? What does throwing "e" do?
0
Comments
e
is a variable that holds whatever was thrown.Generally with
throw regenError
or similar, it is amap
value with a message and some errorEntities.I've often used this in something like the below to make sure that errors come through to the user:
IR for AS/NZS 1100