Append Error to exception class