Replace RuntimeError with OATHError