{% extends "includes/base-layout.twig" %}

{% block title %}Class: ModelAPIError | Merest{% endblock %}
{% block content %}
    <h1 class="page-title">Class: ModelAPIError</h1>






    <section>

    <header>

            <h2>ModelAPIError</h2>

                <div class="class-description">ModelAPIError - extends Error</div>


    </header>

    <article>
        <div class="container-overview">




        <h2>Constructor</h2>


        <h4 class="name" id="ModelAPIError"><span class="type-signature"></span>new ModelAPIError<span class="signature">(code, message)</span><span class="type-signature"> &rarr; {<a href="ModelAPIError.html">ModelAPIError</a>}</span></h4>













        <h5>Parameters:</h5>


    <table class="params">
        <thead>
        <tr>

            <th>Name</th>


            <th>Type</th>





            <th class="last">Description</th>
        </tr>
        </thead>

        <tbody>


            <tr>

                    <td class="name"><code>code</code></td>


                <td class="type">


    <span class="param-type">Number</span>
    |

    <span class="param-type">String</span>



                </td>





                <td class="description last">the code should be transfered as HTTP-response code</td>
            </tr>



            <tr>

                    <td class="name"><code>message</code></td>


                <td class="type">


    <span class="param-type">String</span>
    |

    <span class="param-type">Error</span>



                </td>





                <td class="description last">the description of error</td>
            </tr>


        </tbody>
    </table>






    <dl class="details">


























        <dt class="tag-source">Source:</dt>
        <dd class="tag-source"><ul class="dummy"><li>
            <a href="model-api-error.js.html">model-api-error.js</a>, <a href="model-api-error.js.html#line10">line 10</a>
        </li></ul></dd>







    </dl>













    <h5>Returns:</h5>


    <div class="param-desc">
        the ModelAPIError
    </div>



    <dl>
        <dt>
            Type
        </dt>
        <dd>

    <span class="param-type"><a href="ModelAPIError.html">ModelAPIError</a></span>


        </dd>
    </dl>






        </div>


















    </article>

    </section>

{% endblock %}
