Home
Books & Writing
Blogs
My Development Blog
Absolutely Generic Blog
My Other Stuff
Pyramids
The Scrying Game™
Photo-A-Day
My Mastodon Feed
Learning Programming Languages
Codea
GO Language
Lua
PICO-8
XOJO
Free Code
ActivityPub Extractor
About Me
Lua
error handling
Learning Lua With PICO-8
Error Handling
06/29/21 09:04 Filed in:
Lua
The last few posts have been about debugging in Lua. Today, I want to see how to handle errors in Lua code.
Read More…
Tags:
Lua
,
error
,
error handling
,
pcall
,
assert
Lua (19)
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
__add
__call
__index
__newindex
_G
arguments
array
assert
blocks
boolean
break
call hook
calling
chunks
classes
clock
closure
coercion
comments
concatenate
control structures
data structure
debug
debug.sethook
debugger
debugging
declaring
dictionary
dofile
else
elseif
environment
error
error handling
execute
files
for
functable
function
getinfo
getlocal
getmetatable
global table
if
inheritance
injecting
installation
io
ipairs
iterating
iterating functions
length
libraries
line hook
loops
Lua
M1
math
meta methods
meta table
metatable
modules
multidimensional
nested array
nesting
nil
objects
OOP
operators
os
pairs
parameter
pcall
print
rawget
rawset
reference
repeat
require
return hook
scope
setmetatable
sparse
strings
table
tables
tables in objects
thread
time
type
until
userdata
Variables
while
wrap-up
Lua Feed
This site does not track your information.
Dismiss