 // xhr.responseText
        console.log(&#39;success full response&#39;, response.xhr);  // full response
    })
    .catch(function (error) {
        console.log(&#39;error code&#39;, error.status); // xhr.status
        console.log(&#39;error description&#39;, error.statusText); // xhr.statusText
    });
</code></pre>
<h2 id="chaining">Chaining</h2>
<p>You can make another <code>atomic()</code> call within a <code>.then()</code> callback and pass the response into the chain.</p>
<pre><code class="lang-ja