Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

errors.LibTmuxError.code

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
errors
Declared in
LibTmuxError
Package
libtmux
Source
packages/libtmux/src/errors.ts
code : : LibTmuxErrorCode
attributestaticreadonlyoverload [source]
attributestaticreadonlyoverload [source]
code

This class's identifier, declared once per class and written to both code and name on every instance.

It is a literal rather than new.target.name because a constructor's name is its identifier, and a bundler that minifies identifiers renames it: under --minify, new WaitTimeoutError().name read "m". Anything a consumer branches on has to survive their build, so every subclass declares this and a gate holds each one to its own.

0 declared, 0 inherited

Esc

Type to search.