Lines Matching refs:error
1 //! The `Errno` type, which is a minimal wrapper around an error code.
3 //! We define the error constants as individual `const`s instead of an
4 //! enum because we may not know about all of the host's error values
10 use std::error;
17 /// `errno`—An error code.
19 /// The error type for `rustix` APIs. This is similar to `std::io::Error`, but
20 /// only holds an OS error code, and no extra error value.
47 write!(fmt, "os error {}", self.raw_os_error())
60 write!(fmt, "os error {}", self.raw_os_error())
66 impl error::Error for Errno {}