python return or raise valueerror code example Example: raise valueerror raise ValueError('A very specific bad thing happened.')