#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
#[non_exhaustive]
pub enum ProductIdentifierError {
#[error("identification link is not an absolute http(s) URL: {0}")]
NotAWebUrl(String),
#[error("not a DID: {0}")]
NotADid(String),
#[error("DID method '{0}' is not one EN 18219 scheme 3 names (web, ethr, ebsi)")]
UnsupportedDidMethod(String),
#[error("DID has no method-specific identifier: {0}")]
EmptyDidMethodId(String),
}