Struct ic_agent::agent::agent_error::HttpErrorPayload
source · pub struct HttpErrorPayload {
pub status: u16,
pub content_type: Option<String>,
pub content: Vec<u8>,
}Expand description
A HTTP error from the replica.
Fields§
§status: u16The HTTP status code.
content_type: Option<String>The MIME type of content.
content: Vec<u8>The body of the error.