Generate a program error with a custom program error number
Comments
-
I think that you might use BookErrNo to first RAISE the error, then use ErrWrite to write to the log and/or pendant. I think that the only real significance for the 80001 is that it has it's own error domain then.
Other than that, a programmer can declare their own error numbers, just like any pre-defined data, and Raise an error using that number.Lee Justice0 -
I think the way is to use ErrLog.
It seems like if you use ErrWrite the only possible error number is 80001and if you use ErrRaise you can define your own error number but it only generates warnings.0
Categories
- All Categories
- 5.5K RobotStudio
- 390 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 304 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 772 RAPID Programming
- 17 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings