26 lines
455 B
Go
26 lines
455 B
Go
package errors
|
|
|
|
type EntityAlreadyExists struct{}
|
|
|
|
func (e *EntityAlreadyExists) Error() string {
|
|
return "EntityAlreadyExists error"
|
|
}
|
|
|
|
type NoDataWritten struct{}
|
|
|
|
func (e *NoDataWritten) Error() string {
|
|
return "NoDataWritten error"
|
|
}
|
|
|
|
type NoDataFound struct{}
|
|
|
|
func (e *NoDataFound) Error() string {
|
|
return "NoDataFound error"
|
|
}
|
|
|
|
type NoRelationCreated struct{}
|
|
|
|
func (e *NoRelationCreated) Error() string {
|
|
return "relationship creation error"
|
|
}
|