- raise OSM::APIChangesetMissingError.new
- elsif user.id != changeset.user_id
- raise OSM::APIUserChangesetMismatchError.new
- elsif not changeset.is_open?
- raise OSM::APIChangesetAlreadyClosedError.new(changeset)
+ fail OSM::APIChangesetMissingError.new
+ elsif user.id != changeset.user_id
+ fail OSM::APIUserChangesetMismatchError.new
+ elsif !changeset.is_open?
+ fail OSM::APIChangesetAlreadyClosedError.new(changeset)