Batch 1: ok, echo, error, cpu, slow Batch 2: jsonout, recurse, bigdata, math, timestamp Batch 3: multiline, encoding, nested, memory, chain Tests: create, update (code_hash), idempotency, destroy, re-create All 15 functions verified via curl with JWT auth
10 lines
236 B
Python
10 lines
236 B
Python
def main():
|
|
try:
|
|
a = 1 / 0
|
|
except ZeroDivisionError:
|
|
try:
|
|
raise ValueError("nested after div-by-zero")
|
|
except ValueError as e:
|
|
return f"caught-nested:{e}"
|
|
return "unreachable"
|