All Downloads are FREE. Search and download functionalities are using the official Maven repository.

view.toggle-module.errors.DuplicateToggleValueError.js Maven / Gradle / Ivy

Go to download

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