server: update error message

This commit is contained in:
aler9
2021-10-27 18:46:05 +02:00
parent 6bde7a5754
commit d43d52fdff
2 changed files with 2 additions and 2 deletions

View File

@@ -228,7 +228,7 @@ type ErrServerSessionTeardown struct{}
// Error implements the error interface.
func (e ErrServerSessionTeardown) Error() string {
return "teardown"
return "destroyed by a connection"
}
// ErrServerSessionLinkedToOtherConn is an error that can be returned by a server.