Handling errors preemptively, as we saw in this chapter, will make your code robust and when you are using Driver, you usually need to specify how you want to handle errors like this. It is always a good practice to anticipate and act on the occurrence of errors while developing any software. In this chapter, we worked with different operators that allow us to strategize the methodology that we can adopt, depending on the situations and the logic inside the code. In this chapter, we covered how to handle scenarios when our code might encounter an unexpected event. In the next chapter, we will extend this approach of addressing common scenarios using the design patterns.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia