view.entity-module.errors.MissingImageError.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of module-entities Show documentation
Show all versions of module-entities Show documentation
Entity Manager module for the CodinGame engine toolkit. Simplify the management of shapes and drawings.
export class MissingImageError extends Error {
constructor (image, cause) {
super('Could not find image: "' + image + '". Make sure it is in your assets folder and is spelled correctly.')
this.image = image
this.cause = cause
this.name = 'MissingImageError'
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy