maybe re-raise a more specific error?