quit()
    }
    case Failure(e: RedisReaderException) =&gt; // could not deserialize result
    case Failure(e) =&gt; // any other error occurred
  }
  case Success(false) =&gt; // value was not set
  case Failure(e: RedisWriterException) =&gt; // could not serialize argument
  case Failure(e) =&gt; // any other error occurred
}
</code></pre>
<div class="source-github">
The source code for this page can be found <a href="https://github.com/scredis/scredis/tree/v2.4.3/src/main/paradox/Serialization.md">here