# Errors

## Overview

#### License: MIT

```solidity
library Errors
```

## Errors info

### CallerIsNotAdmin

```solidity
error CallerIsNotAdmin()
```

### ProjectTokenIsNotListed

```solidity
error ProjectTokenIsNotListed()
```

### LendingTokenIsNotListed

```solidity
error LendingTokenIsNotListed()
```

### CallerIsNotRelatedContract

```solidity
error CallerIsNotRelatedContract()
```

### CallerIsNotModerator

```solidity
error CallerIsNotModerator()
```

### InvalidAddress

```solidity
error InvalidAddress()
```

### TokenIsPaused

```solidity
error TokenIsPaused()
```

### InvalidAmount

```solidity
error InvalidAmount()
```

### InvalidAmountOrDepositDoesNotExist

```solidity
error InvalidAmountOrDepositDoesNotExist()
```

### WithdrawableAmountIsZero

```solidity
error WithdrawableAmountIsZero()
```

### MintErrorIsNotZero

```solidity
error MintErrorIsNotZero()
```

### MintedAmountIsZero

```solidity
error MintedAmountIsZero()
```

### BLendingTokenAmoutIsZero

```solidity
error BLendingTokenAmoutIsZero()
```

### RedeemErrorIsNotZero

```solidity
error RedeemErrorIsNotZero()
```

### RedeemUnderlyingErrorIsNotZero

```solidity
error RedeemUnderlyingErrorIsNotZero()
```

### InvalidPosition

```solidity
error InvalidPosition()
```

### InvalidLendingAmount

```solidity
error InvalidLendingAmount()
```

### InvalidLendingToken

```solidity
error InvalidLendingToken()
```

### AvailableAmounToBorrowIsZero

```solidity
error AvailableAmounToBorrowIsZero()
```

### NoBorrowPosition

```solidity
error NoBorrowPosition()
```

### TokensListIsEmpty

```solidity
error TokensListIsEmpty()
```

### InvalidEqualAmount

```solidity
error InvalidEqualAmount()
```

### InvalidValue

```solidity
error InvalidValue()
```

### InvalidHealthFactor

```solidity
error InvalidHealthFactor()
```

### InvalidAugustusAddress

```solidity
error InvalidAugustusAddress()
```

### InvalidReceiveAmount

```solidity
error InvalidReceiveAmount()
```

### NotIncludedAmount

```solidity
error NotIncludedAmount()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fringe.fi/v2-smart-contract-documentation/util/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
