Initialise errors to nil