Raise error for SETEX and PSETEX in case of invalid expire time.