mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
expose the TransportError and the ApplicationError
This commit is contained in:
parent
f5238bf7b1
commit
42b61729bd
23 changed files with 126 additions and 106 deletions
|
@ -39,7 +39,7 @@ func (m *MockStreamI) EXPECT() *MockStreamIMockRecorder {
|
|||
}
|
||||
|
||||
// CancelRead mocks base method.
|
||||
func (m *MockStreamI) CancelRead(arg0 ErrorCode) {
|
||||
func (m *MockStreamI) CancelRead(arg0 ApplicationErrorCode) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "CancelRead", arg0)
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ func (mr *MockStreamIMockRecorder) CancelRead(arg0 interface{}) *gomock.Call {
|
|||
}
|
||||
|
||||
// CancelWrite mocks base method.
|
||||
func (m *MockStreamI) CancelWrite(arg0 ErrorCode) {
|
||||
func (m *MockStreamI) CancelWrite(arg0 ApplicationErrorCode) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "CancelWrite", arg0)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue