Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Only use AssertError in Test Codeunits
Description
Only use AssertError in Test Codeunits.
Remarks
AssertError must be used only in test codeunits, because it creates its own transaction scope. This can lead to unexpected behaviors when used in production code.
For more information about the usage of AssertError, see:
Related information
AppSourceCop Analyzer
Get Started with AL
Developing Extensions
CodeCop AA0161