Raise error instead of print.