.\" Automatically generated by Pandoc 2.9.1.1 .\" .TH "notcurses_error" "3" "v1.6.11" "" "" .hy .SH NAME .PP notcurses_error - granular Notcurses error reporting .SH SYNOPSIS .PP \f[B]#include \f[R] .IP .nf \f[C] typedef enum { NCERR_SUCCESS = 0, NCERR_NOMEM = ENOMEM, NCERR_EOF = 0x20464f45, // matches AVERROR_EOF } nc_err_e; \f[R] .fi .SH DESCRIPTION .PP Various functions in Notcurses return granular information about the cause of an error. When done, this information is returned through an \f[B]nc_err_e\f[R]. .SH NOTES .PP The goal is to abstract the union of errors returned by supported operating systems and the libraries on which Notcurses depends. Thus \f[B]nc_err_e\f[R] is a union of members of POSIX and FFmpeg. .SH RETURN VALUES .SH SEE ALSO .PP \f[B]errno(3)\f[R], \f[B]notcurses(3)\f[R] .SH AUTHORS nick black .