Skip to content

Instantly share code, notes, and snippets.

@munificent
Created May 27, 2014 22:43
Show Gist options
  • Save munificent/c43c01a333919171ed3a to your computer and use it in GitHub Desktop.
Save munificent/c43c01a333919171ed3a to your computer and use it in GitHub Desktop.
someAsyncThing.then((_) => itWorked())
..catchError((error) {
handleError();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment