CKEditorError (utils)
@ckeditor/ckeditor5-utils/src/ckeditorerror
Filtering
Properties
-
data : Object | undefined
The additional error data passed to the constructor. Undefined if none was passed.
-
name : String
Methods
-
constructor( message, [ data ] )
Creates an instance of the CKEditorError class.
Read more about error logging in the
log
module.Parameters
message : String
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 added to themessage
.[ data ] : Object
Additional data describing the error. A stringified version of this object will be appended to the error message, so the data are quickly visible in the console. The original data object will also be later available under the
data
property.
Static methods
-
isCKEditorError( error ) → Boolean
static
Checks if error is an instance of CKEditorError class.
Parameters
error : Object
Object to check.
Returns
Boolean