Add support for error outputs