pass all keys in error objects