252
252
# few errors, and the rest are turned into a generic ErrorFromSmartServer.
253
253
error_name = error_tuple[0]
254
254
error_args = error_tuple[1:]
257
257
if error_name == 'LockContention':
258
258
raise errors.LockContention('(remote lock)')
259
259
elif error_name == 'LockFailed':