CkPublishRefusedException
Namespace: Meshmakers.Octo.ConstructionKit.Contracts
The publish gate refused a model (AB#6386, AB#6389): nothing was written to the catalog. It is a verdict about
the model, like ValidateVersion, ValidateCascade and ValidateCatalog, so it ends the process
with the same code (-6, ModelValidationException). The reasons (ordered, deduplicated, one
self-contained line each, see CkPublishRefusal) are in CkPublishRefusedException.OperationResult; the exception text
is the one-line summary.
public sealed class CkPublishRefusedException : ModelValidationException, ISerializable
Inheritance Object → Exception → CkModelException → ModelValidationException → CkPublishRefusedException
Implements ISerializable
Properties
OperationResult
The result that carries one error message per reason.
public OperationResult OperationResult { 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
CkPublishRefusedException(String, OperationResult)
Creates a new instance of the CkPublishRefusedException class.
public CkPublishRefusedException(string message, OperationResult operationResult)
Parameters
message String
The one-line summary (model, catalog, gate, codes).
operationResult OperationResult
The result that carries one error message per reason.