You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audit SessionError, CreateRequestError, and EncapsulationError internal variants #749
process_response methods return inconsistent error types when POSTing vs. GETting, specifically: EncapsulationError vs. ResponseError for send and SessionError vs. Error for receive.
There are four duplicated variants between InternalEncapsulationError and InternalSessionError.
Also, EncapsulationError is a misnomer since it afaict it's exclusively raised when decapsulating responses.
The Hpke variant has nothing to do with en/decapsulation.
There are other variants that appear duplicated between InternalCreateRequestError and InternalSessionError (namely Expired, Hpke, OhttpEncapsulation and potentially Url/ParseUrl).
Activity
Rename EncapsulationError to DecapsulationError