Closed maxux closed 4 years ago
Error reporting are not really useful, like:
No such file or directory (os error 2)
or
ERROR [zinit::app] failed to start ring buffer server: Permission denied (os error 13) ERROR [zinit::app] failed to start ctrl api Permission denied (os error 13)
Which file, for what, etc. ? The os error number is quite useless (ENOENT or EACCES would be more useful than 2 or 13)
ENOENT
EACCES
path: errstr
like
/etc/zinit: No such file or directory
ERROR [zinit::app] failed to start ring buffer server: /var/run/log.sock: Permission denied
Error reporting are not really useful, like:
or
Which file, for what, etc. ? The os error number is quite useless (
ENOENT
orEACCES
would be more useful than 2 or 13)like