Don't forget to raise exceptions when we encounter unexpected situations.