From 2aca339f1ee315e93cc8fcc6a4dc37156b7e819c Mon Sep 17 00:00:00 2001 From: dk1a Date: Fri, 26 Jan 2024 14:22:33 +0300 Subject: [PATCH] fixed error example --- e2e/packages/contracts/src/systems/CustomErrorsSystem.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol b/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol index 7eab852b31..9a43670985 100644 --- a/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol +++ b/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol @@ -4,6 +4,8 @@ pragma solidity >=0.8.21; import { System } from "@latticexyz/world/src/System.sol"; import { Position } from "../CustomTypes.sol"; +error ThisErrorShouldBeAbsentFromTheGeneratedSystemInterface(); + contract CustomErrorsSystem is System { error TestError1(); error TestError2(Position position, uint256 value, string name, bool flag);