module:ConfigError

module:ConfigError

new module:ConfigError(config, propertyName)

Creates an instance representing an error that occurs when a protected value on the Phaser config object is set incorrectly.
Parameters:
Name Type Description
config Object The Phaser config object whose property value is set incorrectly.
propertyName * The name of the property whose value is set incorrectly.
Source:
Throws:
Will throw a MissingArgumentError if required arguments are missing.
Type
module:MissingArgumentError