Create a new PropError, with the given propName and optional message.
PropError(this.propName, [this.message = '']) : invalidValue = null, prop2Name = null, _messagePrefix = defaultPrefix;