From b71a436826cdbeef60c9c28ba9705457ddb4813d Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 14 Jun 2014 18:28:04 +0100 Subject: [PATCH] Added missing documentation for love.errhand in api.md --- doc/api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api.md b/doc/api.md index 9413326..bfa8f2e 100644 --- a/doc/api.md +++ b/doc/api.md @@ -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. +