I am trying to load some content using require.js. If the content doesn\'t exist I\'d like to catch the error and notify the user.
In firebug I can see two errors:>
Did you try to override the requirejs.onError like shown here?
It worked for me after setting catchError as true like this:
require.config({catchError:true});
before calling any define() or require() functions.
define()
require()