Add support for a default error message, or the ability to change it at the layer level