mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibHTTP+WebDriver+WebServer: Return error from HTTP request parser
This commit is contained in:
parent
5b31d1208f
commit
9220cdc285
6 changed files with 35 additions and 13 deletions
|
@ -109,7 +109,7 @@ protected:
|
|||
Client(NonnullOwnPtr<Core::BufferedTCPSocket>, Core::Object* parent);
|
||||
|
||||
private:
|
||||
using WrappedError = Variant<AK::Error, WebDriver::Error>;
|
||||
using WrappedError = Variant<AK::Error, HTTP::HttpRequest::ParseError, WebDriver::Error>;
|
||||
|
||||
void die();
|
||||
ErrorOr<void, WrappedError> on_ready_to_read();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue