This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/error/database.go

20 lines
335 B
Go
Raw Normal View History

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"
}