create oError object