
view.toggle-module.errors.DuplicateToggleValueError.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of module-toggle Show documentation
Show all versions of module-toggle Show documentation
This module allows you to display or hide elements of the GraphicEntityModule using the viewer's options menu.
The newest version!
export class DuplicateToggleValueError extends Error {
constructor (toggle, dup, cause) {
super('(' + dup.keys.toString() + ') have the same value \'' + dup.value + '\' in toggle "' + toggle + '". Avoid those duplicates in your config.js.')
this.toggle = toggle
this.cause = cause
this.name = 'DuplicateToggleValueError'
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy