Use ioremap::elliptics::error() and throw_error() helper, not std:: exceptions
You must return correct error code from this function