shithub: riscv

ref: 440ccbc06007422f04943378260f250f9efa5331
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;