unexpected io error: do our best based on e.kind()

This commit is contained in:
Pat Hickey
2020-12-17 18:12:15 -08:00
parent f9ff97aac1
commit d8720cffe8
2 changed files with 22 additions and 5 deletions

View File

@@ -34,9 +34,6 @@ pub enum Error {
#[error("Unexpected IoError: {0}")]
UnexpectedIo(#[source] std::io::Error),
#[error("Unsupported operation: {0}")]
Unsupported(String),
// Below this, all variants are from the `$errno` type:
/// Errno::TooBig: Argument list too long
#[error("TooBig: Argument list too long")]