more code refactoring - removing error output from NiceError class