code: func AtPanic(l *State, panicFunction Function) Function {
  	panicFunction, l.global.panicFunction = l.global.panicFunction, panicFunction
  	return panicFunction
  }
docs: // AtPanic sets a new panic function and returns the old one.