Skip to content

Commit

Permalink
feat: add link with licensing details to warnings (#28025)
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilyStrelyaev authored Sep 27, 2024
1 parent f1122d2 commit 7d8b3c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/devextreme/js/core/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,15 @@ export default errorUtils({
* @name ErrorsCore.W0019
*/
W0019: 'DevExtreme: Unable to Locate a Valid License Key.\n\n' +
'Detailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\n' +
'If you are using a 30-day trial version of DevExtreme, you must uninstall all copies of DevExtreme once your 30-day trial period expires. For terms and conditions that govern use of DevExtreme UI components/libraries, please refer to the DevExtreme End User License Agreement: https://js.devexpress.com/EULAs/DevExtremeComplete.\n\n' +
'To use DevExtreme in a commercial project, you must purchase a license. For pricing/licensing options, please visit: https://js.devexpress.com/Buy.\n\n' +
'If you have licensing-related questions or need help with a purchase, please email [email protected].\n\n',
/**
* @name ErrorsCore.W0020
*/
W0020: 'DevExtreme: License Key Has Expired.\n\n' +
'Detailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\n' +
'A mismatch exists between the license key used and the DevExtreme version referenced in this project.\n\n' +
'To proceed, you can:\n' +
'• use a version of DevExtreme linked to your license key: https://www.devexpress.com/ClientCenter/DownloadManager\n' +
Expand All @@ -270,12 +272,14 @@ export default errorUtils({
* @name ErrorsCore.W0021
*/
W0021: 'DevExtreme: License Key Verification Has Failed.\n\n' +
'Detailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\n' +
'To verify your DevExtreme license, make certain to specify a correct key in the GlobalConfig. If you continue to encounter this error, please visit https://www.devexpress.com/ClientCenter/DownloadManager to obtain a valid license key.\n\n' +
'If you have a valid license and this problem persists, please submit a support ticket via the DevExpress Support Center. We will be happy to follow-up: https://supportcenter.devexpress.com/ticket/create.\n\n',
/**
* @name ErrorsCore.W0022
*/
W0022: 'DevExtreme: Pre-release software. Not suitable for commercial use.\n\n' +
'Detailed license/registration related information and instructions: https://js.devexpress.com/Documentation/Licensing/.\n\n' +
'Pre-release software may contain deficiencies and as such, should not be considered for use or integrated in any mission critical application.\n\n',
/**
* @name ErrorsCore.W0023
Expand Down

0 comments on commit 7d8b3c8

Please sign in to comment.