func (ErrCastFailedToInt) Recoverable() bool {
	return true
}
Recoverable whether error is recoverable or not
package protocol
import "fmt"
const (
	PrefixWrongType = "WRONGTYP"
	PrefixErr = "ERR"
)
type RecoverableError interface {
	Recoverable() bool
}
type ErrCastFailedToInt struct {
	Val interface{}
}
func (e *ErrCastFailedToInt) Error() string {
	return fmt.Sprintf("%s: error casting %v to int", PrefixErr, e.Val)
}