Translated until client/helpers/errors.js