* remove unused didError * error should fall back to message if the errors array is empty * strip leading slash when saving a secret