Function Error.getFilename
Get the filename related to an error
-
Syntax
String Error.getFilename(Error e )
Get the filename of the file in which the error was thrown. IE does not provide a way for finding this in a reliable manner but reports the name of the file which started the script execution. -
Parameters
Error e- The error object which was thrown.
- Return value The name of the file as an URI
-
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.
