![](https://secure.gravatar.com/avatar/4eb07a3c66dc527a51d08d8cb8291553.jpg?s=120&d=mm&r=g)
1 Oct
2005
1 Oct
'05
2:48 p.m.
Hi! In LaTeX, there is a \PackageError macro for reporting errors from packages -- basically, it's just a standard way of creating a TeX-like error message, with a user-defined text, and the standard "?" prompt waiting for user intervention. Is there a similarly standard way for producing error messages in ConTeXt modules? For instance, right now one of my bits of code has the following: \doifdefinedelse{\??ma :columntype:#1} {\csname \??ma :columntype:#1\endcsname #2\@nil} {\error{Undefined column type: #1}} I'd like to replace the \error in the last line with something that reports a more useful error message than "! Undefined control sequence." Thanks! - Brooks