There is no need for a `begin` block here. You can just `rescue` the appropriate error in the middle of the method.