Add support for basic error messages