@milkdown/exception
Advanced tools
Comparing version 4.10.5 to 4.11.0
@@ -12,2 +12,3 @@ export declare const docTypeError: (type: unknown) => Error; | ||
export declare const callCommandBeforeEditorView: () => Error; | ||
export declare const themeMustInstalled: () => Error; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,1 +1,2 @@ | ||
/* Copyright 2021, Milkdown by Mirone. */ | ||
export const docTypeError = (type) => new Error(`Doc type error, unsupported type: ${JSON.stringify(type)}`); | ||
@@ -32,2 +33,4 @@ export const contextNotFound = () => new Error('Context not found, do you forget to inject it?'); | ||
export const callCommandBeforeEditorView = () => new Error(`You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized`); | ||
export const themeMustInstalled = () => new Error(`It seems that no theme found in editor, please make sure you have use theme in front of all plugins. | ||
If you prefer to use an empty theme, you can use \`themeFactory({})\`.`); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@milkdown/exception", | ||
"version": "4.10.5", | ||
"version": "4.11.0", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7116
46