UNPKG

valuesaver

Version:

Save values in a storage and import them later back

31 lines 2.91 kB
{ "ERRORS": { "INVALID_ARRAY": "[INVALID_ARRAY]: The specified array is an invalid array. The array must include a json object with a key and a value.", "INVALID_ARRAY_TYPE": "[INVALID_ARRAY_TYPE]: The specified parameter is not an array.", "INVALID_MAP_TYPE": "[INVALID_MAP_TYPE]: The specified parameter is not a map.", "INVALID_KEY": "[INVALID_KEY]: No valid key has been specified! A key must be a string or a number.", "INVALID_FILTER": "[INVALID_FILTER]: No valid filter has been specified! A filter must be a function.", "INVALID_CALLBACK": "[INVALID_CALLBACK]: No valid callback has been specified! A callback must be a function.", "INVALID_OBJECT": "[INVALID_OBJECT]: The specified object is an invalid object. The object must include a key and a value.", "INVALID_OBJECT_TYPE": "[INVALID_OBJECT_TYPE]: The specified parameter is not an object.", "INVALID_ID": "[INVALID_ID]: The specified id is an invalid id. The id must be a string or a number.", "INVALID_SAVE_ID": "[INVALID_SAVE_ID]: There was no save saved or imported which can be removed for this ValueSaver.", "ILLEGAL_SAVE_ID": "[ILLEGAL_SAVE_ID]: The save id may not start with '[ILLEGAL_SAVE_ID]' because of auto saves of the ValueSaver itself.", "INVALID_VALUESAVER_TYPE": "[INVALID_VALUESAVER_TYPE]: The specified parameter is not a ValueSaver." }, "WARNINGS": { "ERROR_UNLINK": "[ERROR_UNLINK]: There was an error while removing the save with the id '[SAVE_ID]'", "ERROR_READ_FOLDER": "[ERROR_READ_FOLDER]: There was an error while trying to read the folder with the saves.", "ERROR_WRITE_SAVE": "[ERROR_WRITE_SAVE]: There was an error while trying to write a save with the id '[SAVE_ID]'", "ERROR_UPDATE_IDS": "[ERROR_UPDATE_IDS]: There was an error while trying to update the id's file.", "ERROR_SAVE_NOT_FOUND": "[ERROR_SAVE_NOT_FOUND]: The save with the id '[SAVE_ID]' couldn't be accessed. The file may be removed, replaced, never existed or has been removed because of an error.", "ERROR_READ_FILE": "[ERROR_READ_FILE]: The save with the id '[SAVE_ID]' couldn't be read. The ValueSaver has temporary been saved as '[TEMP_SAVE_ID]' and can be imported with this id.", "ERROR_CREATE_AUTOSAVE": "[ERROR_CREATE_AUTOSAVE]: The save with the id '[SAVE_ID]' couldn't be read and there couldn't be created an autosave to save the values.", "DIFFERENT_VALUESAVER_VERSION": "[DIFFERENT_VALUESAVER_VERSION]: The specified ValueSaver uses a different version than the ValueSaver where you want to concat it in. There is a possibility that the concat function will fail." }, "INFO": { "NON_FUNCTIONATING_SAVE": "non-functionating-save.json", "ILLEGAL_SAVE_ID": "ValueSaver_Auto_Save", "VERSION": "1.9.0" } }