Updated doc/api.md for love.errhand()

This commit is contained in:
rxi
2016-09-24 13:34:36 +01:00
parent 45e5b32ce4
commit f75e1100aa

View File

@@ -279,7 +279,6 @@ Called when the user releases a mouse button. `x` and `y` are the mouse's
current position. `button` is the value `1` (left), `2` (right) or `3` (middle). current position. `button` is the value `1` (left), `2` (right) or `3` (middle).
##### love.errhand(err) ##### love.errhand(err)
Called when an unprotected error occurs in any of the callback functions; `err` Called when an unprotected error occurs; `err` is the error message. By default
is the error message. Setting this function overrides the default error this function displays the error message and stacktrace on screen and waits for
behaviour of resetting the VGA mode, printing the error and exiting the the `escape` key to be pressed before exiting.
program.