Class

WeekVersionError

WeekVersionError(week, stalksHTTPError, stalks)

Constructor

# new WeekVersionError(week, stalksHTTPError, stalks)

The error you get if you want to update an outdated week.
Parameters:
Name Type Description
week Week
stalksHTTPError StalksHTTPError
stalks Stalks

View Source structures/stalks/weeks/WeekVersionError.js, line 10

Members

Stalks

# stalks

The stalks object that tried to update the week.

View Source structures/stalks/weeks/WeekVersionError.js, line 29

StalksHTTPError

# stalksHTTPError

The error you got exactly.

View Source structures/stalks/weeks/WeekVersionError.js, line 23

Methods

# async forceWeek() → {Promise.<Week>}

Forces the update of the outdated week.

View Source structures/stalks/weeks/WeekVersionError.js, line 37

Promise.<Week>