HomePhabricator

Improve error messages in mw.html

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Improve error messages in mw.html

Add more information to error messages in mw.html. This includes the
error level, the function name, and the position of the argument in the
argument list. Where possible, use the functions in libraryUtil.lua to
do this.

Some functions in mw.html accept multiple types, so add a checkTypeMulti
function to libraryUtil.lua to make these kinds of functions easy to check.
And while we're at it, add test cases for libraryUtil.lua as well.

Change-Id: If9cf9a52bd4b1bb42cc7f9f1f1096828710cbc52

Details

Provenance
MrStradivariusAuthored on Jul 10 2014, 11:02 AM
ChangeId
If9cf9a52bd4b1bb42cc7f9f1f1096828710cbc52

Commit No Longer Exists

This commit no longer exists in the repository.