Documents all the Error Codes in credit-protocol periphery.
The callback should be from pair.
The callback should be from Locked Debt Token.
Only router contract can call the function.
TokenURI doesn't exist.
Invalid initializer address
Caller does not have the required role
Token Id not existing
Caller not approved for unwrapping this token id
Not the correct position type
Pair doesn't exist.
Receipts don't exist for that pair and maturity.
Receipts exist for that pair and maturity.
Current timestamp is after deadline.
Percent is out of range.
Percent variable is supposed to be between 0 and 2^32 both inclusive.
New liquidity can only be call to initialize a new pool.
Add liquidity can only be called to an already initialized pool.
Maturity is less that current Timestamp.
Liquidity is less than min Liquidity.
Debt is greater than max Debt.
Collateral is greater than max Collateral.
Loan is less than min Loan.
Coverage is less than min Coverage.
Debt In is less than or equal to Asset In.
Loan Out is less than or equal to Asset In.
Debt In is less than or equal to Asset Out.
Asset In is greater than max Asset.
Ids length and maxAssetsIn length do not match.
ETH transfer failed
No token to bind
CP ID already exists
Incompatible CP and operation
to is null Address.
Current timestamp is after the deadline
Signer is not the owner
ERC721 already minted
Approval to the current owner
Signer should be a valid address
Cannot approve to the caller
Not safe transfer
Approve caller is not owner nor approved for all
Transfer to non ERC721Receiver implementer
Not approved to transfer
Factory address should not be the weth address
owner is null address
Token does not exist
Can only receive ETH from WETH contract
Invalid Sender