We proposed an approach to error recovery that uses the concepts of task stratification and error classification. In our method, errors are classified according to the estimated cause into several categories, such as modeling and planning errors. When an error is classified correctly, this increases the probability that the most suitable recovery is performed. In this paper, we describe a procedure for error categorization.