Sfoglia il codice sorgente

API docs: Fixed the CKEditorError class documentation.

Piotrek Koszuliński 10 anni fa
parent
commit
ba862123bc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      packages/ckeditor5-utils/src/ckeditorerror.js

+ 2 - 2
packages/ckeditor5-utils/src/ckeditorerror.js

@@ -20,14 +20,14 @@
 CKEDITOR.define( function() {
 	class CKEditorError extends Error {
 		/**
-		 * Logs an error to the console.
+		 * Creates an instance of the class.
 		 *
 		 * Read more about error logging in the {@link core.log} module.
 		 *
 		 * @constructor
 		 * @param {String} message The error message in an `error-name: Error message.` format.
 		 * During the minification process the "Error message" part will be removed to limit the code size
-		 * and a link to this error documentation will be logged to the console.
+		 * and a link to this error documentation will be added to the `message`.
 		 * @param {Object} [data] Additional data describing the error.
 		 */
 		constructor( message, data ) {