EC
errcodes.dev
HTTP
PostgreSQL
Linux
Python
Docker
21 languages Β· 7,377+ codes
errcodes.dev
/
Rust
π¦
Rust Error Types
Rust 1.x
47 codes
std::io::ErrorKind variants, parsing errors, sync errors and common patterns
All severities
ERROR
INFO
All tiers
Common
Notable
Critical
Showing
47
of
47
errors
Code
Message
Severity
Tier
ErrorKind::NotFound
No such file or directory
ERROR
Common
β
ErrorKind::PermissionDenied
Permission denied
ERROR
Common
β
ErrorKind::ConnectionRefused
Connection refused
ERROR
Common
β
ErrorKind::ConnectionReset
Connection reset by peer
ERROR
Notable
β
ErrorKind::ConnectionAborted
Connection aborted
ERROR
Notable
β
ErrorKind::NotConnected
Not connected
ERROR
Notable
β
ErrorKind::AddrInUse
Address already in use
ERROR
Common
β
ErrorKind::AddrNotAvailable
Address not available
ERROR
Notable
β
ErrorKind::BrokenPipe
Broken pipe
ERROR
Notable
β
ErrorKind::AlreadyExists
Entity already exists
ERROR
Common
β
ErrorKind::WouldBlock
Operation would block
INFO
Critical
β
ErrorKind::InvalidInput
Invalid input parameter
ERROR
Common
β
ErrorKind::InvalidData
Invalid data
ERROR
Notable
β
ErrorKind::TimedOut
Operation timed out
ERROR
Notable
β
ErrorKind::WriteZero
Write returned zero bytes
ERROR
Notable
β
ErrorKind::Interrupted
System call interrupted
INFO
Critical
β
ErrorKind::Unsupported
Operation not supported
ERROR
Notable
β
ErrorKind::UnexpectedEof
Unexpected end of file
ERROR
Notable
β
ErrorKind::OutOfMemory
Out of memory
ERROR
Common
β
ErrorKind::Other
Other OS error
ERROR
Notable
β
ErrorKind::StorageFull
No space left on device
ERROR
Common
β
ErrorKind::NetworkDown
Network is down
ERROR
Common
β
ErrorKind::HostUnreachable
Host is unreachable
ERROR
Common
β
ErrorKind::FilesystemLoop
Filesystem loop detected
ERROR
Notable
β
ErrorKind::IsADirectory
Is a directory
ERROR
Common
β
ParseIntError
Cannot parse integer from string
ERROR
Common
β
ParseFloatError
Cannot parse float from string
ERROR
Common
β
TryFromIntError
Integer conversion out of range
ERROR
Common
β
FromUtf8Error
Invalid UTF-8 in byte vector
ERROR
Notable
β
Utf8Error
Invalid UTF-8 in byte slice
ERROR
Notable
β
PoisonError
Mutex poisoned
ERROR
Common
β
TryLockError::Poisoned
try_lock failed β mutex is poisoned
ERROR
Common
β
TryLockError::WouldBlock
try_lock failed β lock is already held
INFO
Critical
β
VarError::NotPresent
Environment variable not set
ERROR
Common
β
VarError::NotUnicode
Environment variable contains invalid Unicode
ERROR
Notable
β
fmt::Error
Formatting error
ERROR
Critical
β
StripPrefixError
Path prefix mismatch
ERROR
Critical
β
TryFromSliceError
Slice length mismatch
ERROR
Common
β
Box<dyn Error>
Boxed dynamic error
ERROR
Notable
β
anyhow::Error
Anyhow dynamic error with context
ERROR
Notable
β
E0382
Use of moved value
ERROR
Common
β
E0277
Trait bound not satisfied
ERROR
Common
β
E0308
Mismatched types
ERROR
Common
β
E0499
Cannot borrow as mutable more than once at a time
ERROR
Common
β
E0502
Cannot borrow as mutable because also borrowed as immutable
ERROR
Common
β
E0505
Cannot move out of value because it is borrowed
ERROR
Common
β
E0597
Value does not live long enough (lifetime error)
ERROR
Notable
β