Function Error.getLinenumber
The relevant linenumber for an error
-
Syntax
String Error.getLinenumber(Error e )
Returns the linenumber where (or around) the error occured. This information is currently only available in Firfox and Safari. -
Parameters
Error e- The error object which was thrown.
- Return value The linenumber as a string or a message if no linenumber could be found.
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
