[m-rev.] for review: more specific errors when file sizes exceed maximum buffer sizes

Peter Wang novalazy at gmail.com
Mon Oct 28 13:45:20 AEDT 2019


On Mon, 28 Oct 2019 13:33:25 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
> 
> > On second thought, why throw an exception instead of returning an error?
> 
> Doing so would break the existing interface; there isn't currently a
> slot to return such an error.

I think io.error is fine.

Peter


More information about the reviews mailing list