Fix typo in 'Error Handling' section
closes #1592 Remove duplicate 'to'
This commit is contained in:
parent
d5650500c8
commit
2f3cb405e8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue