# Error Handling

This chapter describes the way that GSL functions report and handle errors. By examining the status information returned by every function you can determine whether it succeeded or failed, and if it failed you can find out what the precise cause of failure was. You can also define your own error handling functions to modify the default behavior of the library.

The functions described in this section are declared in the header file ``gsl_errno.h'`.

- Error Reporting
- Error Codes
- Error Handlers
- Using GSL error reporting in your own functions
- Error Reporting Examples