Enum esi::ExecutionError
source · pub enum ExecutionError {
XMLError(Error),
MissingRequiredParameter(String, String),
UnexpectedClosingTag(String),
InvalidRequestUrl(String),
RequestError(SendError),
UnexpectedStatus(String, u16),
}
Expand description
Describes an error encountered during ESI parsing or execution.
Variants§
XMLError(Error)
Invalid XML was encountered during parsing.
MissingRequiredParameter(String, String)
The ESI document contains a tag with a missing paraemter.
UnexpectedClosingTag(String)
The ESI document contains an opening tag without a matching closing tag.
InvalidRequestUrl(String)
RequestError(SendError)
An error occurred when sending a fragment request to a backend.
UnexpectedStatus(String, u16)
An ESI fragment request returned an unexpected HTTP status code.
Trait Implementations§
source§impl Debug for ExecutionError
impl Debug for ExecutionError
source§impl Display for ExecutionError
impl Display for ExecutionError
source§impl Error for ExecutionError
impl Error for ExecutionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()