@ -49,6 +49,14 @@ const (
ShutdownFlagIdle = ShutdownFlag(3)
)
type ErrorWithStatus struct {
StatusCode int
}
func (e ErrorWithStatus) Error() string {
return fmt.Sprintf("%d", e.StatusCode)
type RpcReturnTypeInterface interface {
Value() any
Error() error
The note is not visible to the blocked user.