Versions in this module Expand all Collapse all v1 v1.0.0 Apr 20, 2023 Changes in this version + func NewCodec(rwc io.ReadWriteCloser) codec.Codec + type Error struct + Code int + Data interface{} + Message string + func NewError(code int, message string) *Error + func ServerError(rpcerr error) *Error + func (e *Error) Error() string