$ERRNO
 – 
errno of The Most Recently Failed System Call
$ERRNO contains the value of errno of the most recently failed system call.
This value is intended for debugging and can only be used after it was assigned a value.
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $ERRNO - probieren Sie es jetzt aus!