# libtmux::SocketError

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/socket.hpp#L38
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-socketerror/

Why a socket name or path was rejected before any server was contacted.

Length is the one that surprises: a unix socket path is bounded by the platform, not by tmux.

## Members

- `empty` (constant)
- `name_has_separator` (constant)
- `path_too_long` (constant)
- `path_unsupported` (constant)
