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

view.toggle-module.errors.MissingToggleError.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 MissingToggleError extends Error {
  constructor (toggle, cause) {
    super('Could not find toggle: "' + toggle + '". Make sure it is set up correctly in your config.js.')
    this.toggle = toggle
    this.cause = cause
    this.name = 'MissingToggleError'
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy