BEAST(3em)
π¦ BEAST(3em) β beast: WebSocket bindings for Emilua π¦
Manual name? beast(3em). Okay bestie, letβs get into the vibe. π
πΈ NAME πΈ
beast β WebSocket bindings for Emilua. Thatβs the whole name moment: beast(3em). Cute, concise, iconic.
β¨ DESCRIPTION β¨
Okay so beast is the WebSocket bindings for Emilua, and it gives you an userdata. Its __index() metamethod returns a brand-new error code from the beast category whenever you access it. Itβs giving error-code dispenser, but make it Lua. ππ
Hereβs the exact snippet from the page, no edits, no cap:
local beast = require 'beast'
local my_error = beast.websocket.error.closed
error(my_error)
So you require beast, pull beast.websocket.error.closed, and hit error(my_error). Simple, clean, slay. β¨
π ERROR LIST π
Hereβs the full error-code roster, bestie β every single one, no skips, periodt:
closedbuffer_overflowpartial_deflate_blockmessage_too_bigbad_http_versionbad_methodno_hostno_connectionno_connection_upgradeno_upgradeno_upgrade_websocketno_sec_keybad_sec_keyno_sec_versionbad_sec_versionno_sec_acceptbad_sec_acceptupgrade_declinedbad_opcodebad_data_framebad_continuationbad_reserved_bitsbad_control_fragmentbad_control_sizebad_unmasked_framebad_masked_framebad_sizebad_frame_payloadbad_close_codebad_close_sizebad_close_payload
π Thatβs the whole page, bestie! Source/version: Emilua 0.12.1. Date: 1980-01-01. Manual: BEAST(3em). Go forth and slay those websockets! π
π¦ where this page comes from
- nixos 26.05: emilua_beast 1.1.2
- nixpkgs unstable: emilua_beast 1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms