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:
parent
ee5591d583
commit
bcf211bdb3
@ -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()`
|
||||
|
Loading…
x
Reference in New Issue
Block a user