esrol-errors
Version:
An Errors Class for esrol-server-app. It is used for registering new custom errors with numbers, can get a single or all errors in the registry, has a custom throw error method.
314 lines (88 loc) • 3.89 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: Errors</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: Errors</h1>
<section>
<header>
<h2>Errors</h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="Errors"><span class="type-signature"></span>new Errors<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
A Class which holds the registry of errors.
It also contains methods for setting and getting said
errors from the registry.
</div>
<dl class="details">
<dt class="tag-author">Author:</dt>
<dd class="tag-author">
<ul>
<li>Ivaylo Ivanov</li>
</ul>
</dd>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="register.js.html">register.js</a>, <a href="register.js.html#line3">line 3</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
<section>
<header>
<h2>Errors</h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="Errors"><span class="type-signature"></span>new Errors<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
An Errors Class for esrol-server-app.
It is used for registering new custom errors with numbers,
can get a single or all errors in the registry,
has a custom throw error method.
</div>
<dl class="details">
<dt class="tag-author">Author:</dt>
<dd class="tag-author">
<ul>
<li>Ivaylo Ivanov</li>
</ul>
</dd>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="errors.js.html">errors.js</a>, <a href="errors.js.html#line1">line 1</a>
</li></ul></dd>
</dl>
<h5>Requires:</h5>
<ul>
<li>module:errors</li>
<li>module:register</li>
</ul>
</div>
<h3 class="subsection-title">Requires</h3>
<ul>
<li>module:errors</li>
<li>module:register</li>
</ul>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Errors.html">Errors</a></li></ul><h3>Global</h3><ul><li><a href="global.html#constructor">constructor</a></li><li><a href="global.html#error">error</a></li><li><a href="global.html#getAll">getAll</a></li><li><a href="global.html#getAllErrors">getAllErrors</a></li><li><a href="global.html#getByNumber">getByNumber</a></li><li><a href="global.html#registerErrorWithNumber">registerErrorWithNumber</a></li><li><a href="global.html#setErrorWithNumber">setErrorWithNumber</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Thu Nov 26 2015 17:49:03 GMT+0200 (FLE Standard Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>