package rpc

import (
	

	
)

// RetryLimitReachedErr means that server does not acknowledge request
// after multiple retries.
type RetryLimitReachedErr struct {
	Retries int
}

func ( *RetryLimitReachedErr) () string {
	return fmt.Sprintf("retry limit reached after %d attempts", .Retries)
}

// Is reports whether err is RetryLimitReachedErr.
func ( *RetryLimitReachedErr) ( error) bool {
	,  := .(*RetryLimitReachedErr)
	return 
}

// ErrEngineClosed means that engine was closed.
var ErrEngineClosed = errors.New("engine was closed")