Skip to content

Errors

ZeroAddress

error ZeroAddress(string name)

ZeroAmount

error ZeroAmount(string name)

EmptyArray

error EmptyArray(string name)

EmptyString

error EmptyString(string name)

UnorderedArray

error UnorderedArray(string name)

DifferentLengthArray

error DifferentLengthArray(string array1, string array2)

ArrayTooBig

error ArrayTooBig(uint256 length, uint256 max)

StringTooLarge

error StringTooLarge(uint256 length, uint256 max)

AmountTooLarge

error AmountTooLarge(uint256 amount, uint256 max)

AmountTooSmall

error AmountTooSmall(uint256 amount, uint256 min)

UnsupportedInterface

error UnsupportedInterface(string name)

SenderNotOwner

error SenderNotOwner(address sender, uint256 ownedId)

DoesNotHaveAccess

error DoesNotHaveAccess(address sender, string access)

DoesNotHavePermission

error DoesNotHavePermission(address sender, uint8 permission, uint256 id)