3.  Error codes

3.1. igraph_error_type_t — Error code type.
3.2. igraph_strerror — Textual description of an error.

Every igraph function which can fail return a single integer error code. Some functions are very simple and cannot run into any error, these may return other types, or void as well. The error codes are defined by the igraph_error_type_t enumeration.