Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused errors #68

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading