EMILUA(3em)

πŸ“¦ version 0.12.1, in nixos 26.05, nixpkgs unstable

πŸ’– EMILUA(3em) β€” Emilua reference πŸ’–

🌸 NAME 🌸

Emilua β€” the Lua execution engine, bestie. That’s the whole vibe. πŸ’…


✨ DESCRIPTION ✨

Okay so first, the example is this little cutie:

local asio_error = require 'asio_error'

error(asio_error.misc.eof)

It’s giving a userdata where the __index() metamethod returns a new error code from the asio category on access. Iconic behavior, honestly. πŸ¦‹


🌈 ERROR LIST 🌈

Okay bestie, here’s the full error-code guest list. No gatekeeping, no skipping, every single one is invited. πŸ’–

🧚 Basic errors

Depending on the host operating system, these errors may be just an alias to common errors from the system category. Yes, fr fr. πŸ‘‘

  • basic.access_denied
  • basic.address_family_not_supported
  • basic.address_in_use
  • basic.already_connected
  • basic.already_started
  • basic.broken_pipe
  • basic.connection_aborted
  • basic.connection_refused
  • basic.connection_reset
  • basic.bad_descriptor
  • basic.fault
  • basic.host_unreachable
  • basic.in_progress
  • basic.interrupted
  • basic.invalid_argument
  • basic.message_size
  • basic.name_too_long
  • basic.network_down
  • basic.network_reset
  • basic.network_unreachable
  • basic.no_descriptors
  • basic.no_buffer_space
  • basic.no_memory
  • basic.no_permission
  • basic.no_protocol_option
  • basic.no_such_device
  • basic.not_connected
  • basic.not_socket
  • basic.operation_aborted
  • basic.operation_not_supported
  • basic.shut_down
  • basic.timed_out
  • basic.try_again
  • basic.would_block

πŸ¦‹ netdb.h errors

The netdb.h clique, in order:

  • netdb.host_not_found
  • netdb.host_not_found_try_again
  • netdb.no_data
  • netdb.no_recovery

πŸŽ€ addrinfo errors

The addrinfo crew:

  • addrinfo.service_not_found
  • addrinfo.socket_type_not_supported

πŸ’œ Misc errors

And the misc besties:

  • misc.already_open
  • misc.eof
  • misc.not_found
  • misc.fd_set_failure

πŸ’Œ Cute lil sign-off: this page is from Emilua 0.12.1-nixpkgs1, dated 1980-01-01. Bye bestie, go slay those error codes! πŸ’…βœ¨
πŸ“¦ where this page comes from