13 lines · 504 B · JavaScript
RawDownload
/* eslint-disable comma-dangle */// test module method exception being thrown within main constructor(function() {    var apiMethod = Script.require('../exceptions/exceptionInFunction.js');    print(Script.resolvePath(''), "apiMethod", apiMethod);    // this next line throws from within apiMethod    print(apiMethod());    return {        preload: function(uuid) {            print("entityConstructorAPIException::preload -- never seen --", uuid, Script.resolvePath(''));        },    };});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t