</div><!-- fragment --><h1><aclass="anchor"id="exceptions"></a>
Exceptions</h1>
<p>Any unrecoverable libcurl error will be thrown as a <aclass="el"href="classmastodonpp_1_1CURLException.html"title="Exception for libcurl errors.">mastodonpp::CURLException</a>. </p>
<divclass="ttc"id="aclassmastodonpp_1_1CURLException_html"><divclass="ttname"><ahref="classmastodonpp_1_1CURLException.html">mastodonpp::CURLException</a></div><divclass="ttdoc">Exception for libcurl errors.</div><divclass="ttdef"><b>Definition:</b> exceptions.hpp:40</div></div>
<divclass="ttc"id="anamespacemastodonpp_html"><divclass="ttname"><ahref="namespacemastodonpp.html">mastodonpp</a></div><divclass="ttdoc">C++ wrapper for the Mastodon API.</div><divclass="ttdef"><b>Definition:</b> api.cpp:23</div></div>
<divclass="ttc"id="aclassmastodonpp_1_1Request_html"><divclass="ttname"><ahref="classmastodonpp_1_1Request.html">mastodonpp::Request</a></div><divclass="ttdoc">Used to make a request to the Mastodon API.</div><divclass="ttdef"><b>Definition:</b> request.hpp:38</div></div>
<divclass="ttc"id="aclassmastodonpp_1_1Request_html_abf980d36a6ccb5eadee1cd9ef80baf0d"><divclass="ttname"><ahref="classmastodonpp_1_1Request.html#abf980d36a6ccb5eadee1cd9ef80baf0d">mastodonpp::Request::get</a></div><divclass="ttdeci">answer_type get(API::endpoint_type endpoint) const</div><divclass="ttdoc">Make a HTTP GET call.</div><divclass="ttdef"><b>Definition:</b> request.cpp:26</div></div>
<divclass="ttc"id="aclassmastodonpp_1_1CURLException_html_aa5d6aaec95758bc7db42ef1ee8831ecc"><divclass="ttname"><ahref="classmastodonpp_1_1CURLException.html#aa5d6aaec95758bc7db42ef1ee8831ecc">mastodonpp::CURLException::what</a></div><divclass="ttdeci">const char * what() const noexcept override</div><divclass="ttdoc">Returns the error code, message and error buffer.</div><divclass="ttdef"><b>Definition:</b> exceptions.cpp:39</div></div>
<divclass="ttc"id="aclassmastodonpp_1_1Instance_html"><divclass="ttname"><ahref="classmastodonpp_1_1Instance.html">mastodonpp::Instance</a></div><divclass="ttdoc">Holds the hostname and access token of an instance.</div><divclass="ttdef"><b>Definition:</b> instance.hpp:36</div></div>