# error.Error.after_effect

- **Module:** error.Error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error/classification.rs#L18
- **Page:** https://libtmux.org/en/rs/latest/reference/error-error-after_effect/

```
error.Error.after_effect(self, operation: &'static str) -> Self
```

Mark this failure as following an effect that tmux accepted.

Use a fixed operation name without targets or argument values. Calling
this method on an already marked error leaves its existing operation
intact, so nested composed operations do not obscure the more specific
replay boundary.

The returned error has [`ErrorKind::PartialEffect`] and
[`Self::is_transient`] returns `false`, regardless of the source.
