nitely / nim-hyperx

Pure Nim http2 client and server 🖖
MIT License
29 stars 0 forks source link

Propagate Rst/GoAway as distinct errors #16

Open nitely opened 4 months ago

nitely commented 4 months ago

Application code have no way to check/catch if an error is local or remote. It should be a field typ(e) with enum of localErr/remoteErr so the type is not lost by assigning the error to the Client/Stream object.