// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/**
 * @notice Custom errors for vault system
 */
error ZeroAddress();
error ZeroAmount();
error AssetNotRegistered();
error AssetNotApproved();
error CurrencyNotApproved();
error InsufficientCollateral();
error InsufficientDebt();
error InsufficientDepositTokens();
error BorrowNotAllowed(bytes32 reasonCode);
error VaultNotLiquidatable();
error EntityNotRegistered();
error EntitySuspended();
error NotAuthorized();
error NotEligible();
error BelowMinCollateralization();
error DebtCeilingExceeded();
error InvalidLiquidationRatio();
error InvalidCreditMultiplier();
error InvalidWeight();
error FeedNotFound();
error StalePrice();
error InvalidPrice();
error Paused();
