Yobota interview question

How would you deal with an error in your code?