Expand description
IO.Error: its constructors, the translation of OS error codes (lean_decode_io_error,
after libuv’s classification and messages, as the C runtime does), and IO.Error.toString.
Functions§
- io_
error_ ⚠to_ string IO.Error.toStringof the borrowede.- lean_
decode_ ⚠io_ error lean_decode_io_error: theIO.Errorof the C library’serrnovalueerrnum;fname(borrowed) is the file name or null.- lean_
decode_ ⚠uv_ error lean_decode_uv_error: theIO.Errorof the libuv errorerrnum(a negatederrno).- lean_
mk_ ⚠io_ error_ eof IO.Error.unexpectedEof.- lean_
mk_ ⚠io_ error_ other_ error IO.Error.otherError code details(consumesdetails).- lean_
mk_ ⚠io_ user_ error IO.userError msg(consumesmsg).