20 lines
335 B
Go
20 lines
335 B
Go
|
package error
|
||
|
|
||
|
type EntityAlreadyExists struct{}
|
||
|
|
||
|
type NoDataWritten struct{}
|
||
|
|
||
|
type NoDataFound struct{}
|
||
|
|
||
|
func (e *EntityAlreadyExists) Error() string {
|
||
|
return "EntityAlreadyExists error"
|
||
|
}
|
||
|
|
||
|
func (e *NoDataWritten) Error() string {
|
||
|
return "NoDataWritten error"
|
||
|
}
|
||
|
|
||
|
func (e *NoDataFound) Error() string {
|
||
|
return "NoDataFound error"
|
||
|
}
|