# LibTmux::ProtocolError#cleanup_errors

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c8b839595d5a30e271e3f9be0d0fe811ddb11b7e/gems/libtmux/lib/libtmux/errors.rb#L5
- **Public owner:** LibTmux::Error#cleanup_errors
- **Page:** https://libtmux.org/en/ruby/v0.1.0/reference/libtmux-protocolerror-cleanup_errors/

```
def cleanup_errors: () -> ::Array[::String]
```

Returns the value of attribute cleanup_errors.

Behavior contract: Errors.
