Added in 1.9.0

$ferr

Returns any errors during the last file access attempt.

Can be used inside text without being surrounded by white spaces.

Example

; Print the status from $ferr.
//echo -ag Error was: $ferr