make diff of err from internal error