EC
πŸ¦€

Rust Error Types

Rust 1.x47 codes

std::io::ErrorKind variants, parsing errors, sync errors and common patterns

Showing 47 of 47 errors
CodeMessage
ErrorKind::NotFoundNo such file or directory→
ErrorKind::PermissionDeniedPermission denied→
ErrorKind::ConnectionRefusedConnection refused→
ErrorKind::ConnectionResetConnection reset by peer→
ErrorKind::ConnectionAbortedConnection aborted→
ErrorKind::NotConnectedNot connected→
ErrorKind::AddrInUseAddress already in use→
ErrorKind::AddrNotAvailableAddress not available→
ErrorKind::BrokenPipeBroken pipe→
ErrorKind::AlreadyExistsEntity already exists→
ErrorKind::WouldBlockOperation would block→
ErrorKind::InvalidInputInvalid input parameter→
ErrorKind::InvalidDataInvalid data→
ErrorKind::TimedOutOperation timed out→
ErrorKind::WriteZeroWrite returned zero bytes→
ErrorKind::InterruptedSystem call interrupted→
ErrorKind::UnsupportedOperation not supported→
ErrorKind::UnexpectedEofUnexpected end of file→
ErrorKind::OutOfMemoryOut of memory→
ErrorKind::OtherOther OS error→
ErrorKind::StorageFullNo space left on device→
ErrorKind::NetworkDownNetwork is down→
ErrorKind::HostUnreachableHost is unreachable→
ErrorKind::FilesystemLoopFilesystem loop detected→
ErrorKind::IsADirectoryIs a directory→
ParseIntErrorCannot parse integer from string→
ParseFloatErrorCannot parse float from string→
TryFromIntErrorInteger conversion out of range→
FromUtf8ErrorInvalid UTF-8 in byte vector→
Utf8ErrorInvalid UTF-8 in byte slice→
PoisonErrorMutex poisoned→
TryLockError::Poisonedtry_lock failed — mutex is poisoned→
TryLockError::WouldBlocktry_lock failed — lock is already held→
VarError::NotPresentEnvironment variable not set→
VarError::NotUnicodeEnvironment variable contains invalid Unicode→
fmt::ErrorFormatting error→
StripPrefixErrorPath prefix mismatch→
TryFromSliceErrorSlice length mismatch→
Box<dyn Error>Boxed dynamic error→
anyhow::ErrorAnyhow dynamic error with context→
E0382Use of moved value→
E0277Trait bound not satisfied→
E0308Mismatched types→
E0499Cannot borrow as mutable more than once at a time→
E0502Cannot borrow as mutable because also borrowed as immutable→
E0505Cannot move out of value because it is borrowed→
E0597Value does not live long enough (lifetime error)β†’