scroll icon indicating copy to clipboard operation
scroll copied to clipboard

issue : error massage

Open jibbb46 opened this issue 1 year ago • 1 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

jibbb46 avatar Feb 22 '24 00:02 jibbb46

if you can submit a proof of concept for how this would work, and keep in mind that this crate supports no_std i'd be interested in seeing what such a thing would look like.

and i agree, the message does indeed suck, and could be better :)

m4b avatar Aug 26 '24 07:08 m4b

closing as is not actionable as written, reopen with proof concept if desired

m4b avatar Oct 25 '24 04:10 m4b