forked from quic-go/quic-go
move the ApplicationErrorCdoe to the qerr package
This commit is contained in:
@@ -46,9 +46,12 @@ func (e *TransportError) Error() string {
|
||||
return str + ": " + msg
|
||||
}
|
||||
|
||||
// An ApplicationErrorCode is an application-defined error code.
|
||||
type ApplicationErrorCode uint64
|
||||
|
||||
type ApplicationError struct {
|
||||
Remote bool
|
||||
ErrorCode uint64
|
||||
ErrorCode ApplicationErrorCode
|
||||
ErrorMessage string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user