Added a good "error" function alternative.

Very useful when defining message and code at once.