mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add NetworkError::LoadCancelled
variant.
This commit is contained in:
parent
aa078a0780
commit
55c2f93740
4 changed files with 7 additions and 6 deletions
|
@ -437,9 +437,9 @@ pub enum ConstellationMsg {
|
|||
/// Network errors that have to be exported out of the loaders
|
||||
#[derive(Clone, PartialEq, Eq, Debug, Deserialize, Serialize, HeapSizeOf)]
|
||||
pub enum NetworkError {
|
||||
/// Could be any of the internal errors, like unsupported scheme, load
|
||||
/// cancellation, connection errors, etc.
|
||||
/// Could be any of the internal errors, like unsupported scheme, connection errors, etc.
|
||||
Internal(String),
|
||||
LoadCancelled,
|
||||
/// SSL validation error that has to be handled in the HTML parser
|
||||
SslValidation(Url),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue