Update error.cpp