docs(aio): fix "Error handling" section in "HttpClient" (#18821)

Removed additional curly brackets to fix blocks. Also replaced tab with 2 spaces.

PR Close #18821
This commit is contained in:
FerhatE 2017-08-22 07:15:56 +03:00 committed by Miško Hevery
parent 1f1caacbfd
commit 3dc4115c8b
1 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ http
err => {
console.log('Something went wrong!');
}
});
);
```
#### Getting error details
@ -152,7 +152,7 @@ http
console.log(`Backend returned code ${err.status}, body was: ${err.error}`);
}
}
});
);
```
#### `.retry()`