expose the TransportError and the ApplicationError

This commit is contained in:
Marten Seemann
2021-04-25 18:47:04 +07:00
parent f5238bf7b1
commit 42b61729bd
23 changed files with 126 additions and 106 deletions

View File

@@ -67,7 +67,7 @@ func (mr *MockQuicSessionMockRecorder) AcceptUniStream(arg0 interface{}) *gomock
}
// CloseWithError mocks base method.
func (m *MockQuicSession) CloseWithError(arg0 ErrorCode, arg1 string) error {
func (m *MockQuicSession) CloseWithError(arg0 ApplicationErrorCode, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CloseWithError", arg0, arg1)
ret0, _ := ret[0].(error)