UNPKG

@toit/esptool.js

Version:
254 lines 12.9 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>errors | @toit/esptool.js</title> <meta name="description" content="Documentation for @toit/esptool.js"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> <script async src="../assets/js/search.js" id="search-script"></script> </head> <body> <header> <div class="tsd-page-toolbar"> <div class="container"> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> <a href="../index.html" class="title">@toit/esptool.js</a> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <div class="tsd-select" id="tsd-filter-visibility"> <span class="tsd-select-label">All</span> <ul class="tsd-select-list"> <li data-value="public">Public</li> <li data-value="protected">Public/Protected</li> <li data-value="private" class="selected">All</li> </ul> </div> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> <input type="checkbox" id="tsd-filter-externals" checked /> <label class="tsd-widget" for="tsd-filter-externals">Externals</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../modules.html">@toit/esptool.js</a> </li> <li> <a href="errors.html">errors</a> </li> </ul> <h1>Module errors</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Variables</h3> <ul class="tsd-index-list"> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#AlreadyRunningError" class="tsd-kind-icon">Already<wbr>Running<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#ClosedError" class="tsd-kind-icon">Closed<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#ConnectError" class="tsd-kind-icon">Connect<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#NotListeningError" class="tsd-kind-icon">Not<wbr>Listening<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#NotRunningError" class="tsd-kind-icon">Not<wbr>Running<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#ReadAlreadyInProgressError" class="tsd-kind-icon">Read<wbr>Already<wbr>InProgress<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#TimeoutError" class="tsd-kind-icon">Timeout<wbr>Error</a></li> <li class="tsd-kind-variable tsd-parent-kind-module"><a href="errors.html#UnknownChipFamilyError" class="tsd-kind-icon">Unknown<wbr>Chip<wbr>Family<wbr>Error</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Variables</h2> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="AlreadyRunningError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Already<wbr>Running<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Already<wbr>Running<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;already running&quot;</span><span class="tsd-signature-symbol"> = &quot;already running&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L10">errors.ts:10</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="ClosedError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Closed<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Closed<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;closed&quot;</span><span class="tsd-signature-symbol"> = &quot;closed&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L6">errors.ts:6</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="ConnectError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Connect<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Connect<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;connect error&quot;</span><span class="tsd-signature-symbol"> = &quot;connect error&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L8">errors.ts:8</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="NotListeningError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Not<wbr>Listening<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Not<wbr>Listening<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;not listening&quot;</span><span class="tsd-signature-symbol"> = &quot;not listening&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L12">errors.ts:12</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="NotRunningError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Not<wbr>Running<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Not<wbr>Running<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;not running&quot;</span><span class="tsd-signature-symbol"> = &quot;not running&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L11">errors.ts:11</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="ReadAlreadyInProgressError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Read<wbr>Already<wbr>InProgress<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Read<wbr>Already<wbr>InProgress<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Read already in progress&quot;</span><span class="tsd-signature-symbol"> = &quot;Read already in progress&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L9">errors.ts:9</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="TimeoutError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Timeout<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Timeout<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> = &quot;timeout&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L7">errors.ts:7</a></li> </ul> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"> <a name="UnknownChipFamilyError" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> Unknown<wbr>Chip<wbr>Family<wbr>Error</h3> <div class="tsd-signature tsd-kind-icon">Unknown<wbr>Chip<wbr>Family<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Unknown chip family&quot;</span><span class="tsd-signature-symbol"> = &quot;Unknown chip family&quot;</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/toitware/esptool.js/blob/ba304a7/src/errors.ts#L5">errors.ts:5</a></li> </ul> </aside> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class=" "> <a href="../modules.html">Modules</a> </li> <li class="current tsd-kind-module"> <a href="errors.html">errors</a> </li> <li class=" tsd-kind-module"> <a href="index.html">index</a> </li> <li class=" tsd-kind-module"> <a href="reader.html">reader</a> </li> <li class=" tsd-kind-module"> <a href="stubs.html">stubs</a> </li> <li class=" tsd-kind-module"> <a href="util.html">util</a> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#AlreadyRunningError" class="tsd-kind-icon">Already<wbr>Running<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#ClosedError" class="tsd-kind-icon">Closed<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#ConnectError" class="tsd-kind-icon">Connect<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#NotListeningError" class="tsd-kind-icon">Not<wbr>Listening<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#NotRunningError" class="tsd-kind-icon">Not<wbr>Running<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#ReadAlreadyInProgressError" class="tsd-kind-icon">Read<wbr>Already<wbr>InProgress<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#TimeoutError" class="tsd-kind-icon">Timeout<wbr>Error</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module"> <a href="errors.html#UnknownChipFamilyError" class="tsd-kind-icon">Unknown<wbr>Chip<wbr>Family<wbr>Error</a> </li> </ul> </nav> </div> </div> </div> <footer class="with-border-bottom"> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li> <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li> <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li> <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li> </ul> </div> </div> </footer> <div class="container tsd-generator"> <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p> </div> <div class="overlay"></div> <script src="../assets/js/main.js"></script> </body> </html>