error

local beast = require 'beast'

local my_error = beast.error.timeout
error(my_error)

An userdata for which the __index() metamethod returns a new error code from the beast category on access.

Error list

  • timeout