From GridLAB-D Wiki
The #error macro displays an error message and stop load the GLM file when it is encountered by the loader.
GLM
#error message
Note: the message is not followed by a semicolon unless the semicolon is part of the message