io_error() — tailwindcss Function Reference
Architecture documentation for the io_error() function in lib.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD ad84bed0_4ce6_feff_0060_d8f5040f8cf9["io_error()"] d51c8934_ce3d_f9d0_a14e_c9711e79f4e3["lib.rs"] ad84bed0_4ce6_feff_0060_d8f5040f8cf9 -->|defined in| d51c8934_ce3d_f9d0_a14e_c9711e79f4e3 style ad84bed0_4ce6_feff_0060_d8f5040f8cf9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/lib.rs lines 207–225
pub fn io_error(&self) -> Option<&std::io::Error> {
match *self {
Error::Partial(ref errs) => {
if errs.len() == 1 {
errs[0].io_error()
} else {
None
}
}
Error::WithLineNumber { ref err, .. } => err.io_error(),
Error::WithPath { ref err, .. } => err.io_error(),
Error::WithDepth { ref err, .. } => err.io_error(),
Error::Loop { .. } => None,
Error::Io(ref err) => Some(err),
Error::Glob { .. } => None,
Error::UnrecognizedFileType(_) => None,
Error::InvalidDefinition => None,
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does io_error() do?
io_error() is a function in the tailwindcss codebase, defined in crates/ignore/src/lib.rs.
Where is io_error() defined?
io_error() is defined in crates/ignore/src/lib.rs at line 207.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free