Fix typo in 'Error Handling' section

closes #1592
Remove duplicate 'to'
This commit is contained in:
Anastasia Kozaeva 2016-06-03 10:52:19 +03:00 committed by Ward Bell
parent d5650500c8
commit 2f3cb405e8
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ code-example(format="." language="bash").
In this demo service we log the error to the console; we should do better in real life.
We've also decided to return a user friendly form of the error to
to the caller in a rejected promise so that the caller can display a proper error message to the user.
the caller in a rejected promise so that the caller can display a proper error message to the user.
### Promises are Promises
Although we made significant *internal* changes to `getHeroes()`, the public signature did not change.