SecretAttributeNotQueryableException
Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets
Thrown when a query touches a Secret attribute (AB#5528, concept §4.4) with anything
other than an IS_NULL / IS_NOT_NULL field filter: comparison operators, sort,
attribute (text) search, aggregations and group-by are refused, because they would either
compare ciphertext (meaningless) or reveal something about the plaintext.
public sealed class SecretAttributeNotQueryableException : PersistenceException, ISerializable
Inheritance Object → Exception → PersistenceException → SecretAttributeNotQueryableException
Implements ISerializable
Remarks:
Defined in the engine contracts so every repository implementation throws the same type and the
API layer can map it to the error code SecretAttributeNotQueryable. The message never
contains a value.
Properties
AttributePath
The attribute path of the Secret attribute.
public string AttributePath { get; }
Property Value
Operation
What was attempted with the attribute.
public string Operation { get; }
Property Value
EntityName
The CK type or record the path was resolved against.
public string EntityName { get; }
Property Value
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
SecretAttributeNotQueryableException(String, String, String)
Creates a new instance.
public SecretAttributeNotQueryableException(string attributePath, string operation, string entityName)
Parameters
attributePath String
The attribute path of the Secret attribute
operation String
What was attempted, e.g. filter operator 'Equals' or sort
entityName String
The CK type or record the path was resolved against