Throw CredisException if getLastError is not empty