Skip to content

Commit

Permalink
fixed error example
Browse files Browse the repository at this point in the history
  • Loading branch information
dk1a committed Jan 26, 2024
1 parent fbd82b3 commit 2aca339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/packages/contracts/src/systems/CustomErrorsSystem.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2aca339

Please sign in to comment.