From ad4324b4ad7cfc2010aeb434fb2cdae18518fcff Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Sun, 9 Jul 2023 08:47:26 +0300 Subject: [PATCH] refactor: remove unused errors --- src/interfaces/IPRBProxy.sol | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/interfaces/IPRBProxy.sol b/src/interfaces/IPRBProxy.sol index 1c76490..4e4e83b 100644 --- a/src/interfaces/IPRBProxy.sol +++ b/src/interfaces/IPRBProxy.sol @@ -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(); @@ -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 //////////////////////////////////////////////////////////////////////////*/