Skip to main content

ErrorInfo

Loading ....

Source :

{
"$id": "agntcy.identity.core.v1alpha1.ErrorInfo.jsonschema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Describes the cause of the error with structured details.",
"properties": {
"message": {
"description": "The message describing the error in a human-readable way. This\n field gives additional details about the error.",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"ERROR_REASON_UNSPECIFIED",
"ERROR_REASON_INTERNAL",
"ERROR_REASON_INVALID_CREDENTIAL_ENVELOPE_TYPE",
"ERROR_REASON_INVALID_CREDENTIAL_ENVELOPE_VALUE_FORMAT",
"ERROR_REASON_INVALID_ISSUER",
"ERROR_REASON_ISSUER_NOT_REGISTERED",
"ERROR_REASON_INVALID_VERIFIABLE_CREDENTIAL",
"ERROR_REASON_IDP_REQUIRED",
"ERROR_REASON_INVALID_PROOF",
"ERROR_REASON_UNSUPPORTED_PROOF",
"ERROR_REASON_RESOLVER_METADATA_NOT_FOUND",
"ERROR_REASON_UNKNOWN_IDP",
"ERROR_REASON_ID_ALREADY_REGISTERED"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "The reason of the error, as defined by the ErrorReason enum.\n This is a constant unique value that helps identify the cause of\n the error.",
"title": "Error Reason"
}
},
"title": "Error Info",
"type": "object"
}