summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-07-08 03:21:46 +0000
committerGitHub <noreply@github.com>2021-07-08 03:21:46 +0000
commit865c7488b8d9d0909b03d8312073976ee6514757 (patch)
tree0b547940e2025d7f24a10162c1fbcb0bb785d06b /.gitignore
parenta2165e629899bfb9ae9b079bd63179ef7983da90 (diff)
parent714d6e94915f7781748bd71ced4c11e6333975ab (diff)
downloadnix-865c7488b8d9d0909b03d8312073976ee6514757.zip
Merge #1446
1446: Overhaul Nix's error types r=asomers a=asomers For many of Nix's consumers it be convenient to easily convert a Nix error into a std::io::Error. That's currently not possible because of the InvalidPath, InvalidUtf8, and UnsupportedOperation types that have no equivalent in std::io::Error. However, very few of Nix's public APIs actually return those unusual errors. So a more useful API would be for Nix's standard error type to implement Into<std::io::Error>, and the few functions that must return unusual errors like InvalidUtf8 should use bespoke error types. This commit prototypes that approach by modifying just one function, for now, to use the new error type. Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions