Compiler Error AL0189

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. If you'd like to see us prioritize certain areas within the AL diagnostics, you can file a GitHub issue, in the Feedback section at the bottom of this page, choose This page, fill in the template, and include REF PRI in the title. Thanks!

Attribute '{0}' cannot be specified, because '{1}' is already specified.

Description

Mutually exclusive attributes have been specified on the same variable or method. This is the case for handler attributes and event attributes, where only one attribute of each kind can be set on the same procedure.

See Also

Get Started with AL
Developing Extensions