Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CKEditorError and log.warn/error link to the proper error codes documentation #4972

Closed
Reinmar opened this issue Sep 20, 2017 · 0 comments · Fixed by ckeditor/ckeditor5-utils#186
Assignees
Labels
package:utils type:improvement This issue reports a possible enhancement of an existing feature.
Milestone

Comments

@Reinmar
Copy link
Member

Reinmar commented Sep 20, 2017

The error codes will be available on https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/framework/guides/error-codes.html.

We should print a link to the specific error on the console.

E.g. throw new CKEditorError( 'some-error: Description' ) should in its message contain link to https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/framework/guides/error-codes.html#some-error.

Reinmar referenced this issue in ckeditor/ckeditor5-utils Sep 22, 2017
Other: `CKEditorError.message`, `log.error()` and `log.warn()` will contain a link to the error documentation. Closes #185.
@mlewand mlewand transferred this issue from ckeditor/ckeditor5-utils Oct 9, 2019
@mlewand mlewand added this to the iteration 12 milestone Oct 9, 2019
@mlewand mlewand added status:confirmed type:improvement This issue reports a possible enhancement of an existing feature. package:utils labels Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:utils type:improvement This issue reports a possible enhancement of an existing feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants