CodeCop Warning AA0161

Only use AssertError in Test Codeunits.

Description

Only use AssertError in Test Codeunits.

For more information, see AppSourceCop AS0058.

CodeCop Analyzer
Get Started with AL
Developing Extensions