added error.name to toString