Skip to content

Commit

Permalink
Remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominator008 committed Sep 15, 2023
1 parent 5d1307f commit 7cbe6cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libraries/Error.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ library Error {
/// @dev is thrown when caller is not wormhole relayer
error CALLER_NOT_WORMHOLE_RELAYER();

/// @dev is thrown when hyperlane mailbox address is zero
error ZERO_MAILBOX_ADDRESS();

/// @dev is thrown when the destination chain id is invalid
error INVALID_DST_CHAIN();

Expand All @@ -96,9 +93,6 @@ library Error {
/// @dev is thrown if caller is not the global owner
error CALLER_NOT_OWNER();

/// @dev is thrown if caller is not router protocol's gateway
error CALLER_NOT_ROUTER_GATEWAY();

/// @dev is thrown if contract call is invalid (for axelar)
error NOT_APPROVED_BY_GATEWAY();

Expand Down

0 comments on commit 7cbe6cd

Please sign in to comment.