
view.toggle-module.errors.MissingToggleError.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 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