CadQuery / cadquery

A python parametric CAD scripting framework based on OCCT
https://cadquery.readthedocs.io
Other
3.21k stars 292 forks source link

What is the correct/best way to communicate an error? #298

Open KeithSloan opened 4 years ago

KeithSloan commented 4 years ago

What is the correct/best way to communicate an error? Like if the user passes an incorrect value to a script. That will work cq-editor and juypter? Does one use the logger?

adam-urbanczyk commented 4 years ago

In the case of CQ-editor just raise an exception