# E0241

`?` on a value that is neither a `Result` nor an `Option`. Spans the `?` expression.

**Machine-applicable fix:** none.

## Example

This program fails with `E0241`.

```oska
fn first() -> Option<Int> {
    let n = 1?
    Some(n)
}
```

## Fixed

The same program, fixed.

```oska
fn first() -> Option<Int> {
    let n = 1
    Some(n)
}
```

Listed in the [checker notes](/checker.md#e0241). `oskac explain E0241` prints this entry offline.