pub(crate) type OffchainResult<T, A> = Result<A, OffchainErr<BlockNumberFor<T>>>;

Aliased Type§

enum OffchainResult<T, A> {
    Ok(A),
    Err(OffchainErr<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>),
}

Variants§

§1.0.0

Ok(A)

Contains the success value

§1.0.0

Err(OffchainErr<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>)

Contains the error value