# error.IdParseError.expected_sigil

- **Module:** error.IdParseError
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L375
- **Page:** https://libtmux.org/en/rs/latest/reference/error-idparseerror-expected_sigil/

```
error.IdParseError.expected_sigil(self) -> char
```

Return the sigil required by the requested ID scope.

## Example

```rust
use libtmux::SessionId;

let error = "@1".parse::<SessionId>().expect_err("@ denotes a window");
assert_eq!(error.expected_sigil(), '$');
```
