make_errors calculates the forecast errors (error) and
percentage forecast errors (pct_error).
series_id: Unique identifier for the time series as specified incontext.model: Character value. The forecasting model.split: Integer value. The number of the train data split.horizon: The forecast horizon as integer.error: The forecast errors as numeric value.pct_error: The percentage forecast errors as numeric value.