mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
Replace NetworkError::Internal with structured enum variants - Adds UnsupportedScheme,CorsViolation,ConnectionFailure,Timeout,RedirectError,InvalidMethod,ResourceError,SecurityBlock,MixedContent,CacheError,InvalidPort, LocalDirectoryError, variants in NetworkError enum. - Refactored the usage of NetworkError::Internal(String) to use the appropriate new variant Testing: Changes does not require test. Fixes: https://github.com/servo/servo/issues/36434 --------- Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com> Signed-off-by: Usman Yahaya Baba <91813795+uthmaniv@users.noreply.github.com> Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Co-authored-by: Tim van der Lippe <tvanderlippe@gmail.com>
56 KiB
56 KiB