Re: [go-nuts] catching an internal/poll error?

2023-02-21 Thread Mike Nolta
Sure: https://github.com/golang/go/issues/58622 Thanks very much, -Mike On Tue, Feb 21, 2023 at 12:23 AM Ian Lance Taylor wrote: > On Sun, Feb 19, 2023 at 11:10 AM Mike Nolta wrote: > > > > My code recently died with this error string: "write |1: > copy_file_ra

[go-nuts] catching an internal/poll error?

2023-02-19 Thread Mike Nolta
Hi, My code recently died with this error string: "write |1: copy_file_range: use of closed file". I'd like to catch it, since i'm already catching file closed errors (fs.ErrClosed). But the error appears to be ErrFileClosing from the internal/poll package [1], and i'm not allowed to import i