mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
47 lines
1.3 KiB
Solidity
47 lines
1.3 KiB
Solidity
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
pragma solidity 0.8.10;
|
|
|
|
library Errors {
|
|
error CannotInitImplementation();
|
|
error Initialized();
|
|
error SignatureExpired();
|
|
error ZeroSpender();
|
|
error SignatureInvalid();
|
|
error NotOwnerOrApproved();
|
|
error NotHub();
|
|
error TokenDoesNotExist();
|
|
error NotGovernance();
|
|
error NotGovernanceOrEmergencyAdmin();
|
|
error CallerNotWhitelistedModule();
|
|
error CollectModuleNotWhitelisted();
|
|
error FollowModuleNotWhitelisted();
|
|
error ReferenceModuleNotWhitelisted();
|
|
error ProfileCreatorNotWhitelisted();
|
|
error NotProfileOwner();
|
|
error NotProfileOwnerOrDispatcher();
|
|
error PublicationDoesNotExist();
|
|
error HandleTaken();
|
|
error HandleLengthInvalid();
|
|
error HandleContainsInvalidCharacters();
|
|
error ProfileImageURILengthInvalid();
|
|
error CallerNotFollowNFT();
|
|
error CallerNotCollectNFT();
|
|
error BlockNumberInvalid();
|
|
error ArrayMismatch();
|
|
|
|
// Module Errors
|
|
error InitParamsInvalid();
|
|
error ZeroCurrency();
|
|
error CollectExpired();
|
|
error FollowInvalid();
|
|
error ModuleDataMismatch();
|
|
error FollowNotApproved();
|
|
error MintLimitExceeded();
|
|
error CollectNotAllowed();
|
|
|
|
// MultiState Errors
|
|
error Paused();
|
|
error PublishingPaused();
|
|
}
|