Application-independent code includes code:
- Code shipped with the compiler or operating system
- Code from a third-party library
- Code developed in-house
When application-specific code detects an error, it can respond on the spot with a specific action, as in:
...
This is because the application must both detect errors and provide a mechanism for handling errors.
Since Because application-independent code is not associated with any application, it cannot handle errors. But However, it must still detect errors, and report them to an application, so the application may still handle them.
...