Propagate error codes for CRAM_OPT_RANGE