For example. I have a database upgrade script for adding a column to a database table. It looks a little like this:
IF NOT Exists(SELECT * FROM SysColumns sc
RAISERROR seems appropriate here. See here.