summaryrefslogtreecommitdiffstats
path: root/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html')
-rw-r--r--3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html
new file mode 100644
index 000000000..a61dbafa1
--- /dev/null
+++ b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$exceptionHandler.html
@@ -0,0 +1,26 @@
+<h1><code ng:non-bindable="">$exceptionHandler</code>
+<span class="hint">(service in module <code ng:non-bindable="">ng</code>
+)</span>
+</h1>
+<div><h2 id="Description">Description</h2>
+<div class="description"><p>Any uncaught exception in angular expressions is delegated to this service.
+The default implementation simply delegates to <code>$log.error</code> which logs it into
+the browser console.</p>
+
+<p>In unit tests, if <code>angular-mocks.js</code> is loaded, this service is overridden by
+<a href="api/ngMock.$exceptionHandler">mock $exceptionHandler</a></p></div>
+<h2 id="Dependencies">Dependencies</h2>
+<ul class="dependencies"><li><code ng:non-bindable=""><a href="api/ng.$log">$log</a></code>
+</li>
+</ul>
+<h2 id="Usage">Usage</h2>
+<div class="usage"><pre class="prettyprint linenums">$exceptionHandler(exception[, cause]);</pre>
+<h3 id="Parameters">Parameters</h3>
+<ul class="parameters"><li><code ng:non-bindable="">exception – {Error} – </code>
+<p>Exception associated with the error.</p></li>
+<li><code ng:non-bindable="">cause<i>(optional)</i> – {string=} – </code>
+<p>optional information about the context in which
+the error was thrown.</p></li>
+</ul>
+</div>
+</div>