Angular - HTTP Client
Given this code snippet:
What will be logged if the server returns an error?
this.http.post('/api/items', {name: 'Book'}).subscribe({next: res => console.log('Success'), error: err => console.log('Error')});What will be logged if the server returns an error?
