toLogicError

Converts this exception into a LogicError, namely a SystemError wrapping it, to be thrown from a primitive.