pub enum ApplicationError {
Show 46 variants
ReadFile {
path: PathBuf,
source: Error,
},
WriteFile {
path: PathBuf,
source: Error,
},
Manifest(ManifestError),
UntrustedGlobalPolicySource {
config: PathBuf,
repository: String,
},
ExtractionLimit(ExtractionLimitExceeded),
ExecutionLimit(ExecutionLimitExceeded),
HttpExtraction(HttpExtractionError),
PackageManifest(PackageManifestError),
GeneratedClient(GeneratedClientError),
Graphql(GraphqlExtractionError),
Event(EventExtractionError),
Protobuf(ProtobufExtractionError),
Data(DataExtractionError),
Infrastructure(InfrastructureExtractionError),
Documentation(DocumentationExtractionError),
ConfigExtraction(ConfigExtractionError),
SourceSyntax(SourceSyntaxError),
InvalidSourceObservation(String),
BatchPlan(BatchPlanError),
Link(LinkError),
ManualLink(ManualLinkError),
Registry(RegistryError),
Config(ConfigError),
ManifestEdit(ManifestEditError),
RegistryAliasMissing(String),
UnknownOverrideRepository(String),
WorkspaceNameMismatch {
requested: String,
manifest: String,
},
WorkspaceAlreadyExists(String),
WatcherAlreadyActive(String),
WorkspaceNotFound(String),
PartialScanBudgetChanged,
ArtifactOutsideCheckout {
path: PathBuf,
checkout: PathBuf,
},
UnsafeArtifactPath,
Store(StoreError),
Trace(TraceError),
Community(CommunityError),
Query(QueryError),
Impact(ImpactError),
Change(ChangeError),
ChangeAnalysis(ChangeAnalysisError),
Interface(InterfaceError),
PullRequest(PullRequestError),
Initialization(String),
TransientExecution(String),
SupervisedApplication {
exit_code: ExitCode,
message: String,
},
InvalidTraceDepth {
found: usize,
maximum: usize,
},
}Expand description
Error returned while executing delivery-layer application operations.
Variants§
ReadFile
File input could not be read.
WriteFile
Explicit output could not be created without overwriting existing data.
Fields
Manifest(ManifestError)
Workspace manifest was invalid.
UntrustedGlobalPolicySource
An analyzed repository attempted to control advanced global resource policy.
Fields
ExtractionLimit(ExtractionLimitExceeded)
An extractor exhausted one configured per-invocation resource.
ExecutionLimit(ExecutionLimitExceeded)
A supervised pass exhausted one configured execution resource.
HttpExtraction(HttpExtractionError)
HTTP boundary artifact was invalid.
PackageManifest(PackageManifestError)
Focused package manifest was malformed.
GeneratedClient(GeneratedClientError)
Generated-client metadata was malformed or unsafe.
Graphql(GraphqlExtractionError)
GraphQL contract or persisted-operation metadata was malformed.
Event(EventExtractionError)
AsyncAPI event contract was malformed or unsupported.
Protobuf(ProtobufExtractionError)
Protobuf contract was malformed or internally inconsistent.
Data(DataExtractionError)
Database or SQL artifact was malformed or unsupported.
Infrastructure(InfrastructureExtractionError)
Infrastructure or deployment artifact was malformed or unsupported.
Documentation(DocumentationExtractionError)
Documentation, catalog, or ownership artifact was malformed.
ConfigExtraction(ConfigExtractionError)
Secret-safe configuration key extraction failed.
SourceSyntax(SourceSyntaxError)
Mandatory source grammar inspection failed.
InvalidSourceObservation(String)
A focused parser emitted a fact without structural syntax corroboration.
BatchPlan(BatchPlanError)
Incremental extractor batch state was inconsistent.
Link(LinkError)
Deterministic linking failed.
ManualLink(ManualLinkError)
Exact manual relationship resolution failed.
Registry(RegistryError)
Repository registry validation failed.
Config(ConfigError)
Effective repository configuration could not be resolved.
ManifestEdit(ManifestEditError)
Workspace manifest mutation failed.
RegistryAliasMissing(String)
A validated registry unexpectedly omitted a manifest alias.
UnknownOverrideRepository(String)
CLI override references an unknown repository alias.
WorkspaceNameMismatch
Requested workspace name differs from the manifest.
Fields
WorkspaceAlreadyExists(String)
Workspace already exists in the selected registry.
WatcherAlreadyActive(String)
Another verified watcher owns the workspace lease.
WorkspaceNotFound(String)
Workspace is absent from the selected registry.
PartialScanBudgetChanged
A targeted scan cannot mix batches produced under different global budgets.
ArtifactOutsideCheckout
An extractor artifact resolves outside its repository checkout.
UnsafeArtifactPath
Artifact path display contains unsafe metadata characters.
Store(StoreError)
Persistent storage failed.
Trace(TraceError)
Federated graph construction or traversal failed.
Community(CommunityError)
Deterministic community analysis failed.
Query(QueryError)
Ranked search or bounded traversal inputs were invalid.
Impact(ImpactError)
Federated impact or risk inputs were invalid.
Change(ChangeError)
Git change collection or commit-gate input was invalid.
ChangeAnalysis(ChangeAnalysisError)
Semantic mapping or change-impact analysis failed.
Interface(InterfaceError)
Public interface request or rendering failed validation.
PullRequest(PullRequestError)
Opt-in pull-request inspection failed.
Initialization(String)
Workspace initialization could not be completed safely.
TransientExecution(String)
A supervised worker observed a retryable operating-system or storage contention failure.
SupervisedApplication
A worker preserved the public classification of an application failure across IPC.
Fields
InvalidTraceDepth
Client requested a traversal depth outside server bounds.
Trait Implementations§
Source§impl Debug for ApplicationError
impl Debug for ApplicationError
Source§impl Display for ApplicationError
impl Display for ApplicationError
Source§impl Error for ApplicationError
impl Error for ApplicationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()