added error namespace to mapping