Revert "[CS] change 'raise' to 'fail', use '||' instead of 'or'"

This reverts commit b5d71a29846d2faf74bb91e578bf950033133b02.