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

refactor: remove unused errors #164

Merged
merged 1 commit into from
Jul 9, 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/interfaces/IPRBProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ interface IPRBProxy {
ERRORS
//////////////////////////////////////////////////////////////////////////*/

/// @notice Thrown when the transfer ownership function is called directly (not via the registry).
error PRBProxy_CallerNotRegistry(IPRBProxyRegistry registry, address caller);

/// @notice Thrown when a target contract reverts without a specified reason.
error PRBProxy_ExecutionReverted();

Expand All @@ -29,9 +26,6 @@ interface IPRBProxy {
/// @notice Thrown when a non-contract address is passed as the target.
error PRBProxy_TargetNotContract(address target);

/// @notice Thrown when the registry is passed as the target.
error PRBProxy_TargetRegistry();

/*//////////////////////////////////////////////////////////////////////////
EVENTS
//////////////////////////////////////////////////////////////////////////*/
Expand Down