openfisca / openfisca-web-api

[DEPRECATED] Web API for OpenFisca
https://www.openfisca.fr/
GNU Affero General Public License v3.0
13 stars 11 forks source link

Inform that missing variable could have been removed #99

Closed MattiSG closed 7 years ago

MattiSG commented 7 years ago

As a user doing a computation with an unknown variable name code on the server I am using, I receive an error message informing me of the current version and that the variables I am using could be defined in some other version, So that I can update my code

Example: #79.

MattiSG commented 7 years ago
You requested computation of '$variable', but it was not found in the loaded tax benefit system ($country_package_name@$country_package_version).
Are you sure you spelled '$variable' correctly?  :)
If this code used to work and suddenly does not, this is most probably linked to an update of the tax benefit system. Look at its changelog to learn about renames and removals and update your code. If it is an official package, it is probably available on <https://github.com/openfisca/$country_package_name/blob/master/CHANGELOG.md>.
MattiSG commented 7 years ago

Duplicate of https://github.com/openfisca/openfisca-core/issues/398.