lua-box-error: export error ids to the box.error table.
box.error: review fixes.