Enum pallet_deip::Error[][src]

pub enum Error<T: Config> {
Show variants NoSuchProject, NotProjectOwner, DomainNotExists, ProjectAlreadyExists, ProjectContentAlreadyExists, ProjectNotBelongToTeam, NoSuchProjectContent, NoSuchReference, ProjectAlreadyFinished, DomianLimitReached, DomainAlreadyExists, NdaAlreadyExists, NdaAccessRequestAlreadyExists, NoSuchNda, NoSuchNdaAccessRequest, NdaContractIsNotActiveYet, NdaStartDateMustBeLaterOrEqualCurrentMoment, NdaEndDateMustBeLaterCurrentMoment, NdaStartDateMustBeLessThanEndDate, TeamOfAllProjectsMustSpecifiedAsParty, NdaAccessRequestAlreadyFinalized, ReviewAlreadyExists, NoPermission, TokenSaleStartTimeMustBeLaterOrEqualCurrentMoment, TokenSaleEndTimeMustBeLaterStartTime, TokenSaleSoftCapMustBeGreaterOrEqualMinimum, TokenSaleHardCapShouldBeGreaterOrEqualSoftCap, TokenSaleScheduledAlready, TokenSaleAlreadyExists, TokenSaleBalanceIsNotEnough, TokenSaleProjectReservedOverflow, ContributionProjectTokenSaleNotFound, ContributionProjectTokenSaleNotActive, ContributionNotEnoughFunds, // some variants omitted
}

Variants

NoSuchProject

The project does not exist.

NotProjectOwner

The project is created by another account, so caller can’t remove it.

DomainNotExists

Cannot add domain into the porject because this domain not exists

ProjectAlreadyExists

Cannot add a project because a project with this ID is already a exists

ProjectContentAlreadyExists

Cannot add a project content because a project content with this ID is already a exists.

ProjectNotBelongToTeam

Project does not belong to the team.

NoSuchProjectContent

The project content does not exist.

NoSuchReference

The Reference does not exist.

ProjectAlreadyFinished

Cannot add a project content because a project with this ID is already a finished

DomianLimitReached

Cannot add another domain because the limit is already reached

DomainAlreadyExists

Cannot add domain because this domain is already a exists

NdaAlreadyExists

Cannot add a NDA because a NDA with this ID is already a exists.

NdaAccessRequestAlreadyExists

Nda Access Request with this ID is already a exists.

NoSuchNda

The NDA with this ID does not exist.

NoSuchNdaAccessRequest

The NDA Access Request with this ID does not exist.

NdaContractIsNotActiveYet

The start of the contract has not yet arrived, so contract can’t be fulfilled or rejected

NdaStartDateMustBeLaterOrEqualCurrentMoment

NDA start date must be later or equal current moment

NdaEndDateMustBeLaterCurrentMoment

NDA end date must be later current moment

NdaStartDateMustBeLessThanEndDate

NDA start date must be less than end date

TeamOfAllProjectsMustSpecifiedAsParty

Team of all projects must specified as party

NdaAccessRequestAlreadyFinalized

Nda access request already finalized

ReviewAlreadyExists

Cannot add a review because a review with this ID is already a exists

NoPermission

Access Forbiten

TokenSaleStartTimeMustBeLaterOrEqualCurrentMoment
TokenSaleEndTimeMustBeLaterStartTime
TokenSaleSoftCapMustBeGreaterOrEqualMinimum
TokenSaleHardCapShouldBeGreaterOrEqualSoftCap
TokenSaleScheduledAlready
TokenSaleAlreadyExists
TokenSaleBalanceIsNotEnough
TokenSaleProjectReservedOverflow
ContributionProjectTokenSaleNotFound
ContributionProjectTokenSaleNotActive
ContributionNotEnoughFunds

Trait Implementations

impl<T: Config> Debug for Error<T>[src]

impl<T: Config> From<Error<T>> for &'static str[src]

impl<T: Config> From<Error<T>> for DispatchError[src]

impl<T: Config> ModuleErrorMetadata for Error<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Error<T> where
    T: RefUnwindSafe

impl<T> Send for Error<T> where
    T: Send

impl<T> Sync for Error<T> where
    T: Sync

impl<T> Unpin for Error<T> where
    T: Unpin

impl<T> UnwindSafe for Error<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithPostDispatchInfo for T where
    T: Into<DispatchError>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]