Errors can be coding errors made by the programmer, errors due to wrong input, and other unforeseeable things. The error.iserror() static method determines whether the passed value is an error. Errors and exceptions are inevitable in application development
As programmers, it is our responsibility to handle these errors gracefully so that the user experience of the application is not compromised
Handling errors correctly also helps progra.
Error objects are thrown when runtime errors occur