# 1.5.0[−][src]Type Definition std::string::ParseError

    type ParseError = Infallible;

A type alias for `Infallible`.

This alias exists for backwards compatibility, and may be eventually deprecated.

## Trait Implementations

### `impl Error for ParseError` 1.8.0[src]

#### `fn description(&self) -> &str`[src]

Deprecated since 1.42.0:

use the Display impl or to_string()

`if let Err(e) = "xc".parse::<u32>() { // Print` e`itself, no need for description(). eprintln!("Error: {}", e); }` Read more

#### `fn source(&self) -> Option<&(dyn Error + 'static)>`1.30.0[src]

The lower-level source of this error, if any. Read more

#### `fn backtrace(&self) -> Option<&Backtrace>`[src]

🔬 This is a nightly-only experimental API. (`backtrace` #53487)

Returns a stack backtrace, if available, of where this error occurred. Read more

#### `fn cause(&self) -> Option<&dyn Error>`1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting