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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 60 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 797 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings