[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: error() or nil, 'error msg'
- From: Sean Conner <sean@...>
- Date: Thu, 18 Sep 2014 17:48:43 -0400
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!)
- References:
- error() or nil, 'error msg', Andrew Starks
- Re: error() or nil, 'error msg', Rena
- Re: error() or nil, 'error msg', Dirk Laurie
- Re: error() or nil, 'error msg', Andrew Starks
- Re: error() or nil, 'error msg', Tim Hill
- Re: error() or nil, 'error msg', Jay Carlson