func (e Error) IsAlreadyExists() bool {
	return e.kind == alreadyExists
}
IsAlreadyExists checks if the error belongs to Already Exists error types
package ddderr
import (
	"strconv"
	"strings"
)
const (
	domain         = "Domain"
	infrastructure = "Infrastructure"
	notFound      = "NotFound"
	alreadyExists = "AlreadyExists"
	outOfRange    = "OutOfRange"
	invalidFormat = "InvalidFormat"
	required      = "Required"
	remoteCall    = "FailedRemoteCall"
	unknownDomain         = "UnknownDomain"
	unknownInfrastructure = "UnknownInfrastructure"
)
type Error struct {
	parent      error
	group       string
	kind        string
	property    string
	title       string
	description string
	statusName  string
}
var _ error = Error{}
func (e Error) Error() string {
	return e.Description()
}
func (e Error) Kind() string {
	return e.kind
}
func (e Error) SetKind(kind string) Error {
	e.kind = kind
	return e
}
func (e Error) Property() string {
	return e.property
}
func (e Error) SetProperty(property string) Error {
	e.property = property
	return e
}
func (e Error) Title() string {
	return e.title
}
func (e Error) SetTitle(title string) Error {
	e.title = title
	return e
}
func (e Error) Description() string {
	return e.description
}
func (e Error) SetDescription(description string) Error {
	e.description = description
	return e
}
func (e Error) SetStatus(status string) Error {
	e.statusName = status
	return e
}
func (e Error) Status() string {
	return e.statusName
}
func (e Error) Parent() error {
	return e.parent
}
func (e Error) AttachParent(err error) Error {
	e.parent = err
	return e
}
func (e Error) IsDomain() bool {
	return e.group == domain
}
func (e Error) IsInfrastructure() bool {
	return e.group == infrastructure
}
func (e Error) IsRemoteCall() bool {
	return e.kind == remoteCall
}
func (e Error) IsNotFound() bool {
	return e.kind == notFound
}