Skip to main content

Errors

Git Source Provides custom errors for VestingTokenFactory and VestingToken contracts.

Errors

AddressCanNotBeZero

Error to indicate that an address cannot be the zero address.

FailedToDeploy

Error to indicate that deployment of a contract failed.

FeeOutOfRange

Error to indicate that a fee is out of the accepted range.

InsufficientCreationFee

Error to indicate that the creation fee is insufficient.

UnsuccessfulCreationFeeTransfer

Error to indicate an unsuccessful transfer of the creation fee.

MinMilestonesNotReached

Error to indicate that the minimum number of milestones has not been reached.

MaxAllowedMilestonesHit

Error to indicate that the maximum number of milestones has been exceeded.

ClaimableAmountOfImportIsGreaterThanExpected

Error to indicate that the claimable amount of an import is greater than expected.

EqualPercentagesOnlyAllowedBeforeLinear

Error to indicate that equal percentages are only allowed before setting up linear milestones.

InvalidTotalAmount

Error to indicate that the sum of all individual amounts is not equal to the totalAmount.

InputArraysMustHaveSameLength

Error to indicate that input arrays must have the same length.

LastPercentageMustBe100

Error to indicate that the last percentage in a milestone must be 100.

MilestonePercentagesNotSorted

Error to indicate that milestone percentages are not sorted in ascending order.

MilestoneTimestampsNotSorted

Error to indicate that milestone timestamps are not sorted in ascending chronological order.

MoreThanTwoEqualPercentages

Error to indicate that there are more than two equal percentages, which is not allowed.

OnlyLastPercentageCanBe100

Error to indicate that only the last percentage in a series can be 100.

UnlockedIsGreaterThanExpected

Error to indicate that the amount unlocked is greater than expected.

UnsuccessfulFetchOfTokenBalance

Error to indicate an unsuccessful fetch of token balance.

IncorrectClaimFee

Error to indicate that the claim fee provided does not match the expected claim fee.

UnsuccessfulClaimFeeTransfer

Error to indicate an unsuccessful transfer of the claim fee.

NoClaimableAmount

Error to indicate that there is no balance available to claim.