lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Jay Carlson once stated:
> 
> It is not so obvious what to do when f:flush() fails, since people discard
> the return value.

  It's not so obvious what to do with f:flush() fails even *if* you check
the return value.  I mean, what you reasonably do if it returns "No space
left on device" and it's a daemon?  Or an application?  

  -spc (Error handling is hard!  Let's go shopping!)