@kontent-ai/smart-link
Version:
Kontent.ai Smart Link SDK allowing to automatically inject [smart links](https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview#a-using-smart-links) to Kontent.ai according to manually specified [HTML data attri
21 lines • 612 B
JavaScript
export function AssertionError(message) {
const error = new Error(message);
error.name = 'AssertionError';
return error;
}
export function NotImplementedError(message) {
const error = new Error(message);
error.name = 'NotImplementedError';
return error;
}
export function InvalidEnvironmentError(message) {
const error = new Error(message);
error.name = 'InvalidEnvironmentError';
return error;
}
export function NotInitializedError(message) {
const error = new Error(message);
error.name = 'NotInitializedError';
return error;
}
//# sourceMappingURL=errors.js.map