Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Issue 123743005: Update documentation of future.then/catchError. (Closed)

Created:
6 years, 11 months ago by Lasse Reichstein Nielsen
Modified:
6 years, 11 months ago
Reviewers:
Anders Johnsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Update documentation of future.then/catchError. Now mentions that throwing the same exception again is a rethrow. R=ajohnsen@google.com Committed: https://code.google.com/p/dart/source/detail?r=31533

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -29 lines) Patch
M sdk/lib/async/future.dart View 1 2 chunks +49 lines, -29 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Lasse Reichstein Nielsen
6 years, 11 months ago (2014-01-06 10:51:45 UTC) #1
Anders Johnsen
lgtm https://codereview.chromium.org/123743005/diff/1/sdk/lib/async/future.dart File sdk/lib/async/future.dart (right): https://codereview.chromium.org/123743005/diff/1/sdk/lib/async/future.dart#newcode303 sdk/lib/async/future.dart:303: * The `onError` callback must have type `void ...
6 years, 11 months ago (2014-01-06 11:15:23 UTC) #2
Lasse Reichstein Nielsen
Committed patchset #2 manually as r31533 (presubmit successful).
6 years, 11 months ago (2014-01-07 08:07:35 UTC) #3
Lasse Reichstein Nielsen
6 years, 11 months ago (2014-01-07 08:37:39 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/123743005/diff/1/sdk/lib/async/future.dart
File sdk/lib/async/future.dart (right):

https://codereview.chromium.org/123743005/diff/1/sdk/lib/async/future.dart#ne...
sdk/lib/async/future.dart:303: * The `onError` callback must have type `void
onError(error)` or
Good catch!

Powered by Google App Engine
This is Rietveld 408576698