ass="p">}</span>
<span class="p">}</span>
</code></pre>

<p>Check an example <a href="https://github.com/twilio/twilio-verify-ios/blob/main/TwilioVerifyDemo/TwilioVerifyDemo/CreateFactor/Presenter/CreateFactorPresenter.swift#L50">here</a></p>
<h3 id='getting-the-error-cause' class='heading'>Getting the error cause</h3>

<p>You can get the cause for an error accesing the associated error</p>
<pre class="highlight swift"><code><span class="n">twilioVerify</span><span class="o">.</span><span class="nf">updateC