shithub: riscv

ref: 3b7e03a30ed29ee0666c00568bf67b8179c28d12
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;