oma: return meaningful errors