-- lua_sen/response.lua: Response constructors

local M = {}

function M.ok(output)
    return { exit_code = 0, output = output or "" }
end

function M.err(message, code)
    return { exit_code = code or 1, output = message or "" }
end

function M.silent()
    return { exit_code = 0, output = "" }
end

return M
