Added missing documentation for love.errhand in api.md

This commit is contained in:
rxi
2014-06-14 18:28:04 +01:00
parent 61d6f9524e
commit b71a436826

View File

@@ -266,3 +266,9 @@ pressed key.
Called when the user releases a key. `code` is the scancode value for the
released key.
##### love.errhand(err)
Called when an unprotected error occurs in any of the callback functions; `err`
is the error message. Setting this function overrides the default error
behaviour of resetting the VGA mode, printing the error and exiting the
program.