Skip to content

ErrorTypes ​

Git Source

State Variables ​

ReserveContract__Unauthorized ​

| | Reserve | |__________________________________

thrown when an unauthorized caller is trying to execute an auth-protected method

solidity
uint256 internal constant ReserveContract__Unauthorized = 90001;

ReserveContract__AddressZero ​

thrown when an input address is zero

solidity
uint256 internal constant ReserveContract__AddressZero = 90002;

ReserveContract__InvalidInputLenghts ​

thrown when input arrays has different lenghts

solidity
uint256 internal constant ReserveContract__InvalidInputLenghts = 90003;

ReserveContract__RenounceOwnershipUnsupported ​

thrown when renounceOwnership is called

solidity
uint256 internal constant ReserveContract__RenounceOwnershipUnsupported = 90004;

ReserveContract__WrongValueSent ​

thrown when wrong msg.value is at time of rebalancing

solidity
uint256 internal constant ReserveContract__WrongValueSent = 90005;