Added in 1.9.0
$ferr
Returns any errors during the last file access attempt.
Example
; Print the status from $ferr. //echo -ag Error was: $ferr