create error processing