shithub: riscv

ref: fc0357b3decd0dc9848892a823d63070fde09a89
dir: /sys/src/cmd/sam/errors.h/

View raw version
typedef enum Err{
	/* error_s */
	Eopen,
	Ecreate,
	Emenu,
	Emodified,
	Eio,
	Ewseq,
	/* error_c */
	Eunk,
	Emissop,
	Edelim,
	/* error */
	Efork,
	Eintr,
	Eaddress,
	Esearch,
	Epattern,
	Enewline,
	Eblank,
	Enopattern,
	EnestXY,
	Enolbrace,
	Enoaddr,
	Eoverlap,
	Enosub,
	Elongrhs,
	Ebadrhs,
	Erange,
	Esequence,
	Eorder,
	Enoname,
	Eleftpar,
	Erightpar,
	Ebadclass,
	Ebadregexp,
	Eoverflow,
	Enocmd,
	Epipe,
	Enofile,
	Etoolong,
	Echanges,
	Eempty,
	Efsearch,
	Emanyfiles,
	Elongtag,
	Esubexp,
	Etmpovfl,
	Eappend,
	Ecantplumb,
	Ebufload,
}Err;
typedef enum Warn{
	/* warn_s */
	Wdupname,
	Wfile,
	Wdate,
	/* warn_ss */
	Wdupfile,
	/* warn */
	Wnulls,
	Wpwd,
	Wnotnewline,
	Wbadstatus,
}Warn;