scroll icon indicating copy to clipboard operation
scroll copied to clipboard

EASY: better error messages

Open m4b opened this issue 8 years ago • 0 comments

I.e., this error message sucks:

type is too big (68719476740) for 7828

I just realized tho, that we can "recover" the error; if we simplify our internal types to return TooBig, we can then have pread "catch" TooBig errors, and then recompute the offset, requested size, the offset requested at, and size of the bytes for us, all in a nice package

m4b avatar Aug 31 '17 05:08 m4b