# LibTmux.OwnedServerCleanupError

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/lifecycle.jl#L12
- **Bases:** [`LibTmux.LibTmuxError`](/en/julia/latest/reference/libtmux-libtmuxerror/)
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-ownedservercleanuperror/

```
LibTmux.OwnedServerCleanupError(reason, result, stderr_truncated)

LibTmux.OwnedServerCleanupError(
    reason::Symbol,
    result::LibTmux.CommandResult,
    stderr_truncated::Bool
)
```

Cleanup finished with forced termination, incomplete diagnostics, or lost directory ownership.

## Methods

### `LibTmux.OwnedServerCleanupError(reason, result, stderr_truncated)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/lifecycle.jl#L14).

### `OwnedServerCleanupError` (overload 2)

```julia
LibTmux.OwnedServerCleanupError(
    reason::Symbol,
    result::LibTmux.CommandResult,
    stderr_truncated::Bool
)
```

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/lifecycle.jl#L14).

## Parameters

- `reason` (`Any`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 1]`)
- `result` (`Any`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 1]`)
- `stderr_truncated` (`Any`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 1]`)
- `reason` (`Symbol`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 2]`)
- `result` (`LibTmux.CommandResult`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 2]`)
- `stderr_truncated` (`Bool`) (for `OwnedServerCleanupError(reason, result, stderr_truncated) [overload 2]`)

## Members

### Other members

- `reason` (property)
- `result` (property)
- `stderr_truncated` (property)
