<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.13">
  <compounddef id="da/d1c/classnlohmann_1_1detail_1_1type__error" kind="class" language="C++" prot="public">
    <compoundname>nlohmann::detail::type_error</compoundname>
    <basecompoundref refid="de/df2/classnlohmann_1_1detail_1_1exception" prot="public" virt="non-virtual">nlohmann::detail::exception</basecompoundref>
    <includes refid="d5/db8/json_8hpp" local="no">json.hpp</includes>
      <sectiondef kind="public-static-func">
      <memberdef kind="function" id="da/d1c/classnlohmann_1_1detail_1_1type__error_1a838a5e301cf97289c2d106b9ace1470f" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
        <templateparamlist>
          <param>
            <type>typename BasicJsonType</type>
          </param>
        </templateparamlist>
        <type><ref refid="da/d1c/classnlohmann_1_1detail_1_1type__error" kindref="compound">type_error</ref></type>
        <definition>static type_error nlohmann::detail::type_error::create</definition>
        <argsstring>(int id_, const std::string &amp;what_arg, const BasicJsonType &amp;context)</argsstring>
        <name>create</name>
        <param>
          <type>int</type>
          <declname>id_</declname>
        </param>
        <param>
          <type>const <ref refid="dc/df0/namespacenlohmann_1_1detail_1a1ed8fc6239da25abcaf681d30ace4985ab45cffe084dd3d20d928bee85e7b0f21" kindref="member">std::string</ref> &amp;</type>
          <declname>what_arg</declname>
        </param>
        <param>
          <type>const BasicJsonType &amp;</type>
          <declname>context</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" line="2916" column="1" bodyfile="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" bodystart="2916" bodyend="2920"/>
        <references refid="de/df2/classnlohmann_1_1detail_1_1exception_1aa353a7dba4fd179f7224b8a2a238a264" compoundref="d5/db8/json_8hpp" startline="2664" endline="2717">nlohmann::detail::exception::diagnostics</references>
        <references refid="d5/db8/json_8hpp_1a5338981b5ad9027c9e54b1c5597f4344" compoundref="d5/db8/json_8hpp" startline="1456">JSON_HEDLEY_NON_NULL</references>
        <references refid="de/df2/classnlohmann_1_1detail_1_1exception_1abf41a7e9178356314082284e6cfea278" compoundref="d5/db8/json_8hpp" startline="2658" endline="2661">nlohmann::detail::exception::name</references>
        <references refid="dc/df0/namespacenlohmann_1_1detail_1a1ed8fc6239da25abcaf681d30ace4985ab45cffe084dd3d20d928bee85e7b0f21">nlohmann::detail::string</references>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a52b18a5b7e68652c65b070900c438c6e" compoundref="d5/db8/json_8hpp" startline="20448" endline="20467">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::at</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1aeac617faf3448d6d2cb33a020be01d37" compoundref="d5/db8/json_8hpp" startline="18705" endline="18756">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::basic_json</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1ac479e609cbd03948bd3e85fb441b66e5" compoundref="d5/db8/json_8hpp" startline="22619" endline="22645">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::emplace</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a15c0a5db4fb12d49433801bbe6436bfb" compoundref="d5/db8/json_8hpp" startline="22566" endline="22589">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::emplace_back</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a494632b69bbe1d0153d3bedad0901b8e" compoundref="d5/db8/json_8hpp" startline="21178" endline="21239">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::erase</referencedby>
        <referencedby refid="d4/d0a/classnlohmann_1_1detail_1_1serializer_1ab14b8ec1f8102aa4c7e3c349f317654e" compoundref="d5/db8/json_8hpp" startline="16333" endline="16522">nlohmann::detail::serializer&lt; BasicJsonType &gt;::for</referencedby>
        <referencedby refid="dc/df0/namespacenlohmann_1_1detail_1a1f0395aad0fe853a4539288749d3a603" compoundref="d5/db8/json_8hpp" startline="3841" endline="3848">nlohmann::detail::from_json</referencedby>
        <referencedby refid="da/de8/classnlohmann_1_1json__pointer_1a583c726016f440ffe65553935c101ff5" compoundref="d5/db8/json_8hpp" startline="12485" endline="12536">nlohmann::json_pointer&lt; BasicJsonType &gt;::get_and_create</referencedby>
        <referencedby refid="dc/df0/namespacenlohmann_1_1detail_1a85955b9c6dd31846e4b8e891f78614b6" compoundref="d5/db8/json_8hpp" startline="3855" endline="3878">nlohmann::detail::get_arithmetic_value</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1aab19a246f6bcd27c195bed376cf5e138" compoundref="d5/db8/json_8hpp" startline="20390" endline="20398">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::get_binary</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a462f82051df2a68142c2bbd0a2798f56" compoundref="d5/db8/json_8hpp" startline="19806" endline="19814">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::get_impl</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1af9091a59efebd38435cbc0583fcda777" compoundref="d5/db8/json_8hpp" startline="19924" endline="19935">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::get_ref_impl</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1aeb86e8478e20d95970a8b61ff01dce3b" compoundref="d5/db8/json_8hpp" startline="22689" endline="22705">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::insert</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a9ea67fc1ef0ccc42e1d5388fe0416ae5" compoundref="d5/db8/json_8hpp" startline="20643" endline="20675">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::operator[]</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1ab9e0253c92736db021840105d374c4c4" compoundref="d5/db8/json_8hpp" startline="22375" endline="22395">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::push_back</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a76126242de262f6d38cadda19e0d13e1" compoundref="d5/db8/json_8hpp" startline="23089" endline="23100">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::swap</referencedby>
        <referencedby refid="da/de8/classnlohmann_1_1json__pointer_1a920065221e3c81676c3211c100d024a7" compoundref="d5/db8/json_8hpp" startline="12956" endline="12981">nlohmann::json_pointer&lt; BasicJsonType &gt;::unflatten</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a377819905d567f6f523dcbc592cb6356" compoundref="d5/db8/json_8hpp" startline="22924" endline="22947">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::update</referencedby>
        <referencedby refid="d9/dcc/classnlohmann_1_1basic__json_1a11641b35219676b225d9bd15c7677659" compoundref="d5/db8/json_8hpp" startline="20941" endline="20957">nlohmann::basic_json&lt; ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType &gt;::value</referencedby>
        <referencedby refid="dc/df0/namespacenlohmann_1_1detail_1a59fca69799f6b9e366710cb9043aa77d" compoundref="d5/db8/json_8hpp" startline="4061" endline="4069">nlohmann::detail::void</referencedby>
        <referencedby refid="df/d1a/classnlohmann_1_1detail_1_1binary__writer_1a9ffc566db5219b473762462234b47db9" compoundref="d5/db8/json_8hpp" startline="13283" endline="13298">nlohmann::detail::binary_writer&lt; BasicJsonType, CharType &gt;::write_bson</referencedby>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-func">
      <memberdef kind="function" id="da/d1c/classnlohmann_1_1detail_1_1type__error_1aa01edaa0bf18b853368f0b900e485cd7" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type></type>
        <definition>nlohmann::detail::type_error::type_error</definition>
        <argsstring>(int id_, const char *what_arg)</argsstring>
        <name>type_error</name>
        <param>
          <type>int</type>
          <declname>id_</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>what_arg</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" line="2924" column="1" bodyfile="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" bodystart="2924" bodyend="2924"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>exception indicating executing a member function with a wrong type </para>    </briefdescription>
    <detaileddescription>
<para>This exception is thrown in case of a type error; that is, a library function is executed on a JSON value whose type does not match the expected semantics.</para><para>Exceptions have ids 3xx.</para><para><table rows="18" cols="3"><row>
<entry thead="yes"><para>name / id </para></entry><entry thead="yes"><para>example message </para></entry><entry thead="yes"><para>description  </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.301 </para></entry><entry thead="no"><para>cannot create object from initializer list </para></entry><entry thead="no"><para>To create an object from an initializer list, the initializer list must consist only of a list of pairs whose first element is a string. When this constraint is violated, an array is created instead. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.302 </para></entry><entry thead="no"><para>type must be object, but is array </para></entry><entry thead="no"><para>During implicit or explicit value conversion, the JSON type must be compatible to the target type. For instance, a JSON string can only be converted into string types, but not into numbers or boolean types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.303 </para></entry><entry thead="no"><para>incompatible ReferenceType for get_ref, actual type is object </para></entry><entry thead="no"><para>To retrieve a reference to a value stored in a <ref refid="d9/dcc/classnlohmann_1_1basic__json" kindref="compound">basic_json</ref> object with get_ref, the type of the reference must match the value type. For instance, for a JSON array, the <emphasis>ReferenceType</emphasis> must be array_t &amp;. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.304 </para></entry><entry thead="no"><para>cannot use at() with string </para></entry><entry thead="no"><para>The at() member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.305 </para></entry><entry thead="no"><para>cannot use operator[] with string </para></entry><entry thead="no"><para>The operator[] member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.306 </para></entry><entry thead="no"><para>cannot use <ref refid="dc/df0/namespacenlohmann_1_1detail_1a2fb6dae6578e06ae73ca0d7cc8512b1aa2063c1608d6e0baf80249c42e2be5804" kindref="member">value()</ref> with string </para></entry><entry thead="no"><para>The <ref refid="dc/df0/namespacenlohmann_1_1detail_1a2fb6dae6578e06ae73ca0d7cc8512b1aa2063c1608d6e0baf80249c42e2be5804" kindref="member">value()</ref> member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.307 </para></entry><entry thead="no"><para>cannot use erase() with string </para></entry><entry thead="no"><para>The erase() member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.308 </para></entry><entry thead="no"><para>cannot use push_back() with string </para></entry><entry thead="no"><para>The push_back() and operator+= member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.309 </para></entry><entry thead="no"><para>cannot use insert() with </para></entry><entry thead="no"><para>The insert() member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.310 </para></entry><entry thead="no"><para>cannot use swap() with number </para></entry><entry thead="no"><para>The swap() member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.311 </para></entry><entry thead="no"><para>cannot use emplace_back() with string </para></entry><entry thead="no"><para>The emplace_back() member function can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.312 </para></entry><entry thead="no"><para>cannot use update() with string </para></entry><entry thead="no"><para>The update() member functions can only be executed for certain JSON types. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.313 </para></entry><entry thead="no"><para>invalid value to unflatten </para></entry><entry thead="no"><para>The unflatten function converts an object whose keys are JSON Pointers back into an arbitrary nested JSON value. The JSON Pointers must not overlap, because then the resulting value would not be well defined. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.314 </para></entry><entry thead="no"><para>only objects can be unflattened </para></entry><entry thead="no"><para>The unflatten function only works for an object whose keys are JSON Pointers. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.315 </para></entry><entry thead="no"><para>values in object must be primitive </para></entry><entry thead="no"><para>The unflatten function only works for an object whose keys are JSON Pointers and whose values are primitive. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.316 </para></entry><entry thead="no"><para>invalid UTF-8 byte at index 10: 0x7E </para></entry><entry thead="no"><para>The dump function only works with UTF-8 encoded strings; that is, if you assign a <computeroutput><ref refid="dc/df0/namespacenlohmann_1_1detail_1a1ed8fc6239da25abcaf681d30ace4985ab45cffe084dd3d20d928bee85e7b0f21" kindref="member">std::string</ref></computeroutput> to a JSON value, make sure it is UTF-8 encoded. </para></entry></row>
<row>
<entry thead="no"><para>json.exception.type_error.317 </para></entry><entry thead="no"><para>JSON value cannot be serialized to requested format </para></entry><entry thead="no"><para>The dynamic type of the object cannot be represented in the requested serialization format (e.g. a raw <computeroutput>true</computeroutput> or <computeroutput>null</computeroutput> JSON object cannot be serialized to BSON) </para></entry></row>
</table>
{The following code shows how a <computeroutput><ref refid="da/d1c/classnlohmann_1_1detail_1_1type__error" kindref="compound">type_error</ref></computeroutput> exception can be caught.,<ref refid="da/d1c/classnlohmann_1_1detail_1_1type__error" kindref="compound">type_error</ref>}</para><para><simplesect kind="see"><para>- <ref refid="de/df2/classnlohmann_1_1detail_1_1exception" kindref="compound">exception</ref> for the base class of the library exceptions </para></simplesect>
<simplesect kind="see"><para>- <ref refid="d5/d1a/classnlohmann_1_1detail_1_1parse__error" kindref="compound">parse_error</ref> for exceptions indicating a parse <ref refid="dc/df0/namespacenlohmann_1_1detail_1a58bb1ef1a9ad287a9cfaf1855784d9acacb5e100e5a9a3e7f6d1fd97512215282" kindref="member">error</ref> </para></simplesect>
<simplesect kind="see"><para>- <ref refid="d4/d5f/classnlohmann_1_1detail_1_1invalid__iterator" kindref="compound">invalid_iterator</ref> for exceptions indicating errors with iterators </para></simplesect>
<simplesect kind="see"><para>- <ref refid="d2/d67/classnlohmann_1_1detail_1_1out__of__range" kindref="compound">out_of_range</ref> for exceptions indicating access out of the defined range </para></simplesect>
<simplesect kind="see"><para>- <ref refid="d5/d1b/classnlohmann_1_1detail_1_1other__error" kindref="compound">other_error</ref> for exceptions indicating other library errors</para></simplesect>
<simplesect kind="since"><para>version 3.0.0 </para></simplesect>
</para>    </detaileddescription>
    <inheritancegraph>
      <node id="1103">
        <label>std::exception</label>
      </node>
      <node id="1101">
        <label>nlohmann::detail::type_error</label>
        <link refid="da/d1c/classnlohmann_1_1detail_1_1type__error"/>
        <childnode refid="1102" relation="public-inheritance">
        </childnode>
      </node>
      <node id="1102">
        <label>nlohmann::detail::exception</label>
        <link refid="de/df2/classnlohmann_1_1detail_1_1exception"/>
        <childnode refid="1103" relation="public-inheritance">
        </childnode>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="1107">
        <label>std::runtime_error</label>
        <childnode refid="1106" relation="public-inheritance">
        </childnode>
      </node>
      <node id="1108">
        <label>int</label>
      </node>
      <node id="1106">
        <label>std::exception</label>
      </node>
      <node id="1104">
        <label>nlohmann::detail::type_error</label>
        <link refid="da/d1c/classnlohmann_1_1detail_1_1type__error"/>
        <childnode refid="1105" relation="public-inheritance">
        </childnode>
      </node>
      <node id="1105">
        <label>nlohmann::detail::exception</label>
        <link refid="de/df2/classnlohmann_1_1detail_1_1exception"/>
        <childnode refid="1106" relation="public-inheritance">
        </childnode>
        <childnode refid="1107" relation="usage">
          <edgelabel>-m</edgelabel>
        </childnode>
        <childnode refid="1108" relation="usage">
          <edgelabel>+id</edgelabel>
        </childnode>
      </node>
    </collaborationgraph>
    <location file="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" line="2913" column="1" bodyfile="/home/agopal/trees/cudnn-frontend/include/contrib/nlohmann/json/json.hpp" bodystart="2912" bodyend="2925"/>
    <listofallmembers>
      <member refid="da/d1c/classnlohmann_1_1detail_1_1type__error_1a838a5e301cf97289c2d106b9ace1470f" prot="public" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>create</name></member>
      <member refid="de/df2/classnlohmann_1_1detail_1_1exception_1aa353a7dba4fd179f7224b8a2a238a264" prot="protected" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>diagnostics</name></member>
      <member refid="de/df2/classnlohmann_1_1detail_1_1exception_1ae323ad0d53bc724414c2233164e65657" prot="protected" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>exception</name></member>
      <member refid="de/df2/classnlohmann_1_1detail_1_1exception_1a0d4589a3fb54e81646d986c05efa3b9a" prot="public" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>id</name></member>
      <member refid="de/df2/classnlohmann_1_1detail_1_1exception_1abf41a7e9178356314082284e6cfea278" prot="protected" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>name</name></member>
      <member refid="da/d1c/classnlohmann_1_1detail_1_1type__error_1aa01edaa0bf18b853368f0b900e485cd7" prot="private" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>type_error</name></member>
      <member refid="de/df2/classnlohmann_1_1detail_1_1exception_1a0672c25ecdf14d1a071d4d6478a65af0" prot="public" virt="non-virtual"><scope>nlohmann::detail::type_error</scope><name>what</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
