Precedence of NO-ERROR
- Last Updated: October 18, 2024
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
NO-ERROR takes precedence over any flow of
control directive on the block, for example, LEAVE or
THROW. See Default Condition Handling and Block Flow of Control and Condition Directives for more
information.
It also takes precedence over any CATCH blocks
so the CATCH block does not run. See CATCH Blocks for more information.
In general, the AVM performs error handling using this precedence, from highest to
lowest. The AVM only abides by one of these when a condition is raised:
- Statement
NO-ERRORoption CATCHblock- Block’s
ONphrase (explicit or implicit)