> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
> Use this file to discover all available pages before exploring further.

# core::result::Result

The type used for returning and propagating errors. It is an enum with the variants `Ok: T`,
representing success and containing a value, and `Err: E`, representing error and containing an
error value.

## Signature

```rust theme={null}
pub enum Result {
    Ok: T,
    Err: E,
}
```

## Variants

### Ok

#### Signature

```rust theme={null}
Ok: T
```

### Err

#### Signature

```rust theme={null}
Err: E
```
