Throw an error instead. This will reduce unwanted behaviour if the user tries to set the wrong attribute or forgets to implement a setter.
Throw an error instead. This will reduce unwanted behaviour if the user tries to set the wrong attribute or forgets to implement a setter.