Function indexer::state::get_issuer

source ·
pub fn get_issuer(principal: Principal) -> Result<Issuer, String>
Expand description

Retrieves the issuer associated with the given principal.

§Arguments

  • principal - The principal for which to retrieve the issuer.

§Returns

  • Ok(Issuer) if the issuer is found.
  • Err(String) if the issuer is not found.