Skip to content

Commit

Permalink
Fire errors only for network errors
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Jan 17, 2023
1 parent f57fe19 commit ff4256a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26088,8 +26088,8 @@ document.body.appendChild(wbr);</code></pre>
<span>byte sequence</span> <var>bytesOrNull</var>:</p>

<ol>
<li><p>If <var>response</var> is null or failure, or if <var>response</var> has a
non-<span>ok status</span>, <span data-x="concept-event-fire">fire an event</span> named <code
<li><p>If <var>response</var> is a <span>network error</span>, <span
data-x="concept-event-fire">fire an event</span> named <code
data-x="event-error">error</code> at <var>el</var>.</p></li>

<li><p>Otherwise, <span data-x="concept-event-fire">fire an event</span> named <code
Expand Down

0 comments on commit ff4256a

Please sign in to comment.