Skip to main content

errors.proto

path agntcy/identity/core/v1alpha1/errors.proto

package agntcy.identity.core.v1alpha1


Messages

ErrorInfo

Describes the cause of the error with structured details.

NameTypeDescription
reasonoptional ErrorReasonThe reason of the error, as defined by the ErrorReason enum. This is a constant unique value that helps identify the cause of the error.
messageoptional stringThe message describing the error in a human-readable way. This field gives additional details about the error.

Enums

ErrorReason

Represents the reason for an error, providing a unique constant value for the error.

NameNumberDescription
ERROR_REASON_UNSPECIFIED0ERROR_REASON_UNSPECIFIED indicates that no specific error reason has been specified.
ERROR_REASON_INTERNAL1An internal error, this happens in case of unexpected condition or failure within the service
ERROR_REASON_INVALID_CREDENTIAL_ENVELOPE_TYPE2The credential envelope type is invalid. For valid values refer to the enum CredentialEnvelopeType.
ERROR_REASON_INVALID_CREDENTIAL_ENVELOPE_VALUE_FORMAT3The credential envelope value format does not correspond to the format specified in envelope_type.
ERROR_REASON_INVALID_ISSUER4The issuer contains one or more invalid fields.
ERROR_REASON_ISSUER_NOT_REGISTERED5The issuer is not registered in the Node.
ERROR_REASON_INVALID_VERIFIABLE_CREDENTIAL6The Verifiable Credential is invalid, this can be related to either invalid format or unable to verify the Data Integrity proof.
ERROR_REASON_IDP_REQUIRED7An issuer is required to have an external IdP
ERROR_REASON_INVALID_PROOF8The proof is invalid
ERROR_REASON_UNSUPPORTED_PROOF9The proof type is not supported
ERROR_REASON_RESOLVER_METADATA_NOT_FOUND10Unable to resolve an ID to a ResolverMetadata
ERROR_REASON_UNKNOWN_IDP11Unknown Identity Provider
ERROR_REASON_ID_ALREADY_REGISTERED12The ID and Resolver Metadata are already registered in the system