Skip to content

Commit

Permalink
Remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pakim249CAL committed Dec 10, 2022
1 parent afd4c92 commit 3f2d0b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions src/compound/MorphoGovernance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ abstract contract MorphoGovernance is MorphoUtils {

/// ERRORS ///

/// @notice Thrown when the creation of a market failed on Compound.
error MarketCreationFailedOnCompound();

/// @notice Thrown when the input is above the max basis points value (100%).
error ExceedsMaxBasisPoints();

Expand Down
12 changes: 0 additions & 12 deletions src/compound/PositionsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,6 @@ contract PositionsManager is IPositionsManager, MatchingEngine {
/// @notice Thrown when the amount repaid during the liquidation is above what is allowed to be repaid.
error AmountAboveWhatAllowedToRepay();

/// @notice Thrown when the borrow on Compound failed.
error BorrowOnCompoundFailed();

/// @notice Thrown when the redeem on Compound failed .
error RedeemOnCompoundFailed();

/// @notice Thrown when the repay on Compound failed.
error RepayOnCompoundFailed();

/// @notice Thrown when the mint on Compound failed.
error MintOnCompoundFailed();

/// @notice Thrown when user is not a member of the market.
error UserNotMemberOfMarket();

Expand Down

0 comments on commit 3f2d0b9

Please sign in to comment.