#[non_exhaustive]pub enum HttpEvidenceError {
Show 31 variants
EmptyAllowedOrigins,
ZeroTimeout,
ZeroBodyLimit,
ZeroReliability,
BodyLimitTooLarge {
actual: usize,
maximum: usize,
},
ZeroTextSampleLimit,
TextSampleLimitTooLarge {
max_chars: usize,
max_body_bytes: usize,
},
UnsupportedScheme {
scheme: String,
},
EmbeddedCredentials,
InvalidEndpointSubject {
subject: String,
},
EmptyExecutorId,
InvalidUrl {
value: String,
source: ParseError,
},
InvalidHeaderName {
name: String,
},
InvalidHeaderValue {
name: String,
},
UnmeteredRequestBody,
GraphqlReviewRequestBodyLimit,
InvalidWordPressMetadataRequest,
InvalidWordPressAssetRequest,
InvalidXmlExternalEntityRequest,
ForbiddenRequestHeader {
name: String,
},
TargetOutsidePolicy {
url: String,
},
PayloadStrategyUnavailable {
strategy: String,
},
PayloadDerivationFailed {
strategy: String,
role: &'static str,
},
InvalidQueryPayloadParameter,
QueryPayloadRequiresQueryFreeProbe,
Client(Error),
Timeout {
timeout_ms: u64,
},
Request(Error),
Reasoning(ReasoningModelError),
AssessmentDefenseProjectionInvariant,
AssessmentObserverInvariant {
invariant: &'static str,
},
}Expand description
Configuration and execution failures for HTTP evidence collection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyAllowedOrigins
At least one explicit authorized origin is required.
ZeroTimeout
The request timeout must be positive.
ZeroBodyLimit
The response-body limit must be positive.
ZeroReliability
Evidence consumed by deterministic rules needs non-zero reliability.
BodyLimitTooLarge
The response-body limit exceeded the hard per-request bound.
ZeroTextSampleLimit
Text sampling requires at least one character.
TextSampleLimitTooLarge
A text sample cannot exceed the byte buffer guarding the response.
Fields
UnsupportedScheme
Only absolute HTTP and HTTPS destinations are supported.
EmbeddedCredentials
Embedded URL credentials could leak through request or evidence logs.
InvalidEndpointSubject
A decision subject did not use the endpoint URL identity convention.
EmptyExecutorId
The executor registry requires a stable non-empty identity.
InvalidUrl
An absolute URL could not be parsed.
InvalidHeaderName
A request or captured response header name was invalid.
InvalidHeaderValue
A request header value was invalid.
UnmeteredRequestBody
A streaming or otherwise opaque body could bypass byte accounting.
GraphqlReviewRequestBodyLimit
The opt-in GraphQL review attempted to exceed its fixed JSON request bound.
InvalidWordPressMetadataRequest
A WordPress metadata request did not match the selected application’s closed role/resource admission descriptor.
InvalidWordPressAssetRequest
A WordPress asset request was not the exact JS/CSS resource admitted from committed HTML under the frozen application/component binding.
InvalidXmlExternalEntityRequest
A controlled XML request did not match its immutable policy, exact endpoint, fixed role, or canonical body binding.
ForbiddenRequestHeader
A request header could alter destination or message framing.
TargetOutsidePolicy
A provider attempted to leave the authorized origin set.
A bound payload strategy is not present in its registry.
PayloadDerivationFailed
A bound payload strategy could not derive its artifact for this turn.
Fields
InvalidQueryPayloadParameter
A native query-payload binding used an invalid fixed parameter name.
QueryPayloadRequiresQueryFreeProbe
Query-payload pairs require a query-free base request so the control is unambiguous and no existing value can be overwritten or retained.
Client(Error)
The redirect-disabled HTTP client could not be constructed.
Timeout
The total request and bounded body read timed out.
Request(Error)
Request construction or transport failed.
Reasoning(ReasoningModelError)
Core reasoning values could not be constructed.
AssessmentDefenseProjectionInvariant
The assessment-only defense projection could not bind its exact base evidence set. No response values are included in this diagnostic.
AssessmentObserverInvariant
The sealed assessment observer did not receive its required non-secret base evidence identities.
Trait Implementations§
Source§impl Debug for HttpEvidenceError
impl Debug for HttpEvidenceError
Source§impl Display for HttpEvidenceError
impl Display for HttpEvidenceError
Source§impl Error for HttpEvidenceError
impl Error for HttpEvidenceError
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()