Directive #error Foundation
Generates a compiler error and displays an error message
#error [<ErrorMessage>]
The directive #error causes the compiler to generate the error code XBT0517, prevent creation of an OBJ file, and display the error message <ErrorMessage> on the screen.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.