module-src_client_interceptors-InterceptorConfigurationError.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>Documentation Class: InterceptorConfigurationError</title>
  7. <!--[if lt IE 9]>
  8. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  9. <![endif]-->
  10. <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
  11. <link type="text/css" rel="stylesheet" href="styles/site.simplex.css">
  12. </head>
  13. <body>
  14. <div class="navbar navbar-default navbar-fixed-top ">
  15. <div class="container">
  16. <div class="navbar-header">
  17. <a class="navbar-brand" href="index.html">Documentation</a>
  18. <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
  19. <span class="icon-bar"></span>
  20. <span class="icon-bar"></span>
  21. <span class="icon-bar"></span>
  22. </button>
  23. </div>
  24. <div class="navbar-collapse collapse" id="topNavigation">
  25. <ul class="nav navbar-nav">
  26. <li class="dropdown">
  27. <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
  28. <ul class="dropdown-menu ">
  29. <li><a href="grpc.html">grpc</a></li><li><a href="grpc.credentials.html">grpc.credentials</a></li>
  30. </ul>
  31. </li>
  32. <li class="dropdown">
  33. <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
  34. <ul class="dropdown-menu ">
  35. <li><a href="module-src_client_interceptors.html">src/client_interceptors</a></li>
  36. </ul>
  37. </li>
  38. <li class="dropdown">
  39. <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
  40. <ul class="dropdown-menu ">
  41. <li><a href="grpc.Channel.html">grpc.Channel</a></li><li><a href="grpc.Client.html">grpc.Client</a></li><li><a href="grpc.credentials-CallCredentials.html">grpc.credentials~CallCredentials</a></li><li><a href="grpc.credentials-ChannelCredentials.html">grpc.credentials~ChannelCredentials</a></li><li><a href="grpc.Metadata.html">grpc.Metadata</a></li><li><a href="grpc.Server.html">grpc.Server</a></li><li><a href="grpc.ServerCredentials.html">grpc.ServerCredentials</a></li><li><a href="grpc-Call.html">grpc~Call</a></li><li><a href="grpc-ClientDuplexStream.html">grpc~ClientDuplexStream</a></li><li><a href="grpc-ClientReadableStream.html">grpc~ClientReadableStream</a></li><li><a href="grpc-ClientUnaryCall.html">grpc~ClientUnaryCall</a></li><li><a href="grpc-ClientWritableStream.html">grpc~ClientWritableStream</a></li><li><a href="grpc-ServerDuplexStream.html">grpc~ServerDuplexStream</a></li><li><a href="grpc-ServerReadableStream.html">grpc~ServerReadableStream</a></li><li><a href="grpc-ServerUnaryCall.html">grpc~ServerUnaryCall</a></li><li><a href="grpc-ServerWritableStream.html">grpc~ServerWritableStream</a></li><li><a href="module-src_client_interceptors-EndListener.html">src/client_interceptors~EndListener</a></li><li><a href="module-src_client_interceptors-InterceptingCall.html">src/client_interceptors~InterceptingCall</a></li><li><a href="module-src_client_interceptors-InterceptingListener.html">src/client_interceptors~InterceptingListener</a></li><li><a href="module-src_client_interceptors-InterceptorConfigurationError.html">src/client_interceptors~InterceptorConfigurationError</a></li><li><a href="module-src_client_interceptors-ListenerBuilder.html">src/client_interceptors~ListenerBuilder</a></li><li><a href="module-src_client_interceptors-RequesterBuilder.html">src/client_interceptors~RequesterBuilder</a></li><li><a href="module-src_client_interceptors-StatusBuilder.html">src/client_interceptors~StatusBuilder</a></li>
  42. </ul>
  43. </li>
  44. <li class="dropdown">
  45. <a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
  46. <ul class="dropdown-menu ">
  47. <li><a href="grpc-ClientDuplexStream.html#event:metadata">grpc~ClientDuplexStream#metadata</a></li><li><a href="grpc-ClientDuplexStream.html#event:status">grpc~ClientDuplexStream#status</a></li><li><a href="grpc-ClientReadableStream.html#event:metadata">grpc~ClientReadableStream#metadata</a></li><li><a href="grpc-ClientReadableStream.html#event:status">grpc~ClientReadableStream#status</a></li><li><a href="grpc-ClientUnaryCall.html#event:metadata">grpc~ClientUnaryCall#event:metadata</a></li><li><a href="grpc-ClientUnaryCall.html#event:status">grpc~ClientUnaryCall#event:status</a></li><li><a href="grpc-ClientWritableStream.html#event:metadata">grpc~ClientWritableStream#metadata</a></li><li><a href="grpc-ClientWritableStream.html#event:status">grpc~ClientWritableStream#status</a></li><li><a href="grpc-ServerDuplexStream.html#~event:cancelled">grpc~ServerDuplexStream~event:cancelled</a></li><li><a href="grpc-ServerReadableStream.html#~event:cancelled">grpc~ServerReadableStream~event:cancelled</a></li><li><a href="grpc-ServerUnaryCall.html#~event:cancelled">grpc~ServerUnaryCall~event:cancelled</a></li><li><a href="grpc-ServerWritableStream.html#~event:cancelled">grpc~ServerWritableStream~event:cancelled</a></li>
  48. </ul>
  49. </li>
  50. <li class="dropdown">
  51. <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
  52. <ul class="dropdown-menu ">
  53. <li><a href="global.html#CancelRequester">CancelRequester</a></li><li><a href="global.html#CloseRequester">CloseRequester</a></li><li><a href="global.html#createStatusError">createStatusError</a></li><li><a href="global.html#getClientInterceptors">getClientInterceptors</a></li><li><a href="global.html#getMethodType">getMethodType</a></li><li><a href="global.html#GetPeerRequester">GetPeerRequester</a></li><li><a href="global.html#Interceptor">Interceptor</a></li><li><a href="global.html#InterceptorProvider">InterceptorProvider</a></li><li><a href="global.html#loadPackageDefinition">loadPackageDefinition</a></li><li><a href="global.html#MessageListener">MessageListener</a></li><li><a href="global.html#MessageRequester">MessageRequester</a></li><li><a href="global.html#MetadataListener">MetadataListener</a></li><li><a href="global.html#MetadataRequester">MetadataRequester</a></li><li><a href="global.html#NextCall">NextCall</a></li><li><a href="global.html#StatusListener">StatusListener</a></li>
  54. </ul>
  55. </li>
  56. <li class="dropdown">
  57. <a href="externals.list.html" class="dropdown-toggle" data-toggle="dropdown">Externals<b class="caret"></b></a>
  58. <ul class="dropdown-menu ">
  59. <li><a href="external-Duplex.html">Duplex</a></li><li><a href="external-EventEmitter.html">EventEmitter</a></li><li><a href="external-GoogleCredential.html">GoogleCredential</a></li><li><a href="external-Readable.html">Readable</a></li><li><a href="external-Writable.html">Writable</a></li>
  60. </ul>
  61. </li>
  62. </ul>
  63. <div class="col-sm-3 col-md-3">
  64. <form class="navbar-form" role="search">
  65. <div class="input-group">
  66. <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
  67. <div class="input-group-btn">
  68. <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
  69. </div>
  70. </div>
  71. </form>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="container" id="toc-content">
  77. <div class="row">
  78. <div class="col-md-8">
  79. <div id="main">
  80. <h1 class="page-title">Class: InterceptorConfigurationError</h1>
  81. <section>
  82. <header>
  83. <h2>
  84. <span class="ancestors"><a href="module-src_client_interceptors.html">src/client_interceptors</a>~</span>
  85. InterceptorConfigurationError
  86. </h2>
  87. </header>
  88. <article>
  89. <div class="container-overview">
  90. <hr>
  91. <dt>
  92. <h4 class="name" id="InterceptorConfigurationError"><span class="type-signature"></span>new InterceptorConfigurationError(message [, extra])</h4>
  93. </dt>
  94. <dd>
  95. <div class="description">
  96. <p>A custom error thrown when interceptor configuration fails.</p>
  97. </div>
  98. <h5>Parameters:</h5>
  99. <table class="params table table-striped">
  100. <thead>
  101. <tr>
  102. <th>Name</th>
  103. <th>Type</th>
  104. <th>Argument</th>
  105. <th class="last">Description</th>
  106. </tr>
  107. </thead>
  108. <tbody>
  109. <tr>
  110. <td class="name"><code>message</code></td>
  111. <td class="type">
  112. <span class="param-type">string</span>
  113. </td>
  114. <td class="attributes">
  115. </td>
  116. <td class="description last"><p>The error message</p></td>
  117. </tr>
  118. <tr>
  119. <td class="name"><code>extra</code></td>
  120. <td class="type">
  121. <span class="param-type">object</span>
  122. </td>
  123. <td class="attributes">
  124. &lt;optional><br>
  125. </td>
  126. <td class="description last"></td>
  127. </tr>
  128. </tbody>
  129. </table>
  130. <dl class="details">
  131. </dl>
  132. </dd>
  133. </div>
  134. </article>
  135. </section>
  136. </div>
  137. </div>
  138. <div class="clearfix"></div>
  139. <div class="col-md-3">
  140. <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="modal fade" id="searchResults">
  145. <div class="modal-dialog">
  146. <div class="modal-content">
  147. <div class="modal-header">
  148. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  149. <h4 class="modal-title">Search results</h4>
  150. </div>
  151. <div class="modal-body"></div>
  152. <div class="modal-footer">
  153. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  154. </div>
  155. </div><!-- /.modal-content -->
  156. </div><!-- /.modal-dialog -->
  157. </div>
  158. <footer>
  159. <span class="jsdoc-message">
  160. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
  161. on 2019-07-15T16:38:16-07:00
  162. using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
  163. </span>
  164. </footer>
  165. <script src="scripts/docstrap.lib.js"></script>
  166. <script src="scripts/toc.js"></script>
  167. <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
  168. <script>
  169. $( function () {
  170. $( "[id*='$']" ).each( function () {
  171. var $this = $( this );
  172. $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
  173. } );
  174. $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
  175. var $this = $( this );
  176. var example = $this.find( "code" );
  177. exampleText = example.html();
  178. var lang = /{@lang (.*?)}/.exec( exampleText );
  179. if ( lang && lang[1] ) {
  180. exampleText = exampleText.replace( lang[0], "" );
  181. example.html( exampleText );
  182. lang = lang[1];
  183. } else {
  184. var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
  185. lang = langClassMatch ? langClassMatch[1] : "javascript";
  186. }
  187. if ( lang ) {
  188. $this
  189. .addClass( "sunlight-highlight-" + lang )
  190. .addClass( "linenums" )
  191. .html( example.html() );
  192. }
  193. } );
  194. Sunlight.highlightAll( {
  195. lineNumbers : false,
  196. showMenu : true,
  197. enableDoclinks : true
  198. } );
  199. $.catchAnchorLinks( {
  200. navbarOffset: 10
  201. } );
  202. $( "#toc" ).toc( {
  203. anchorName : function ( i, heading, prefix ) {
  204. return $( heading ).attr( "id" ) || ( prefix + i );
  205. },
  206. selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
  207. showAndHide : false,
  208. smoothScrolling: true
  209. } );
  210. $( "#main span[id^='toc']" ).addClass( "toc-shim" );
  211. $( '.dropdown-toggle' ).dropdown();
  212. $( "table" ).each( function () {
  213. var $this = $( this );
  214. $this.addClass('table');
  215. } );
  216. } );
  217. </script>
  218. <!--Navigation and Symbol Display-->
  219. <!--Google Analytics-->
  220. <script type="text/javascript">
  221. $(document).ready(function() {
  222. SearcherDisplay.init();
  223. });
  224. </script>
  225. </body>
  226. </html>