Xpcall: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>

Revision as of 08:59, 3 September 2018


Available since: Gideros 2011.6
Class: (global)

Description

pcall function f with new error handler err. The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine.

 xpcall(f,err)

Parameters

f: (function) pcall function
err: (string) error message