Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Rust API

method libtmux-rs latest

Error.after_effect

Mark this failure as following an effect that tmux accepted.

Source and package
Qualified name
libtmux::error::Error::after_effect
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error/classification.rs
#[must_use] pub fn after_effect(self, operation: &'static str) -> Self

Description#

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.

Parameters
Esc

Type to search.

Reference previewOpen reference