throw new Error(error) stops execution of next lines code example Example: js throw error throw new Error('Whoops!')