Notice that we are using ~s on the bucket type (as well as bucket and key here). So using it in the error message would be consistent or both could go wrong in the same way.