From 3fc23fc90d871b17b7d17c698305c53cfd769bfd Mon Sep 17 00:00:00 2001 From: andreivladbrg Date: Tue, 12 Nov 2024 16:59:59 +0200 Subject: [PATCH] chore: order alphabetically custom errors --- src/libraries/Errors.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/Errors.sol b/src/libraries/Errors.sol index caff2396..28a2b4c2 100644 --- a/src/libraries/Errors.sol +++ b/src/libraries/Errors.sol @@ -33,12 +33,12 @@ library Errors { /// @notice Thrown when trying to create a stream with a zero deposit amount. error SablierFlow_DepositAmountZero(uint256 streamId); - /// @notice Thrown when trying to create a stream with an token with no decimals. - error SablierFlow_InvalidTokenDecimals(address token); - /// @notice Thrown when an unexpected error occurs during the calculation of an amount. error SablierFlow_InvalidCalculation(uint256 streamId, uint128 availableAmount, uint128 amount); + /// @notice Thrown when trying to create a stream with an token with no decimals. + error SablierFlow_InvalidTokenDecimals(address token); + /// @notice Thrown when the recipient address does not match the stream's recipient. error SablierFlow_NotStreamRecipient(address recipient, address streamRecipient);