KeyCustodianFailedException Class
Wraps a custodian failure that waiting will not resolve: the identity lacks the permission, the key is gone or disabled, the request was malformed. The library answers 500, which is what a condition that will not clear on its own deserves, and never puts this exception's text in the response.
public sealed class KeyCustodianFailedException : System.ExceptionInheritance System.Object → System.Exception → KeyCustodianFailedException
Remarks
This is the seam's default reading of a failure it cannot place. A custodian says "not now" by throwing KeyCustodianUnavailableException; everything else arrives here, because a retry promised on a guess is worse than one not offered. The type exists so the endpoints can recognize a custodian failure at all: an exception that never passed through the seam is none of the library's business and keeps traveling to whatever the host has around it.
Constructors
KeyCustodianFailedException(string, Exception) Constructor
Reports that the custodian refused operation for a reason a later attempt will meet again.
public KeyCustodianFailedException(string operation, System.Exception innerException);Parameters
operation System.String
What was being asked of the custodian, named for the log line.
innerException System.Exception
The failure as the custodian's own client reported it.
Properties
KeyCustodianFailedException.Operation Property
What was being asked of the custodian when it failed.
public string Operation { get; }