Skip to content

Commit

Permalink
chore: order alphabetically custom errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Nov 12, 2024
1 parent e44236e commit 3fc23fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libraries/Errors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3fc23fc

Please sign in to comment.