Improve Javacript error messages
authorMatthias Schmidt <gravatronics@live.com>
Fri, 3 Aug 2018 15:14:17 +0000 (17:14 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 3 Aug 2018 15:14:17 +0000 (17:14 +0200)
See #2509

wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Abstract.js

index 09371f531118cd00a45c3d865e33381ed0075091..8c3eba18aa8be9829ce09da9f2bba5752d20abda 100644 (file)
@@ -23,7 +23,7 @@ define(['./Manager'], function(DependencyManager) {
                 * @abstract
                 */
                checkDependency: function() {
-                       throw new Error("Implement me!")
+                       throw new Error("Missing implementation of WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.checkDependency!");
                },
                
                /**
index b892701121fcaf6e7c3d3277055e4f07898a4d82..0aed1229d4fa64399e4d08d7de633225da9d86cb 100644 (file)
@@ -24,7 +24,7 @@ define(['EventHandler', '../Manager'], function(EventHandler, DependencyManager)
                 * @abstract
                 */
                checkContainer: function() {
-                       throw new Error("Implement me!")
+                       throw new Error("Missing implementation of WoltLabSuite/Core/Form/Builder/Field/Dependency/Container.checkContainer!");
                },
                
                /**