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 9e932f50_4870_0176_c3e3_dbee8288bdab["io_error()"] 45d3637d_63b6_933b_072c_47e0aeaa39a0["lib.rs"] 9e932f50_4870_0176_c3e3_dbee8288bdab -->|defined in| 45d3637d_63b6_933b_072c_47e0aeaa39a0 style 9e932f50_4870_0176_c3e3_dbee8288bdab 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