This block is similar to the one [here](https://github.com/Wikia/app/pull/3800/files#diff-0677cf94deeee06e6ad122d00550f25cR152), except some statuses are shared and the above block doesn't come with human-readable error messages. Is there any way to unify the return codes and error messages?