Files
eway/internal/entity/error.go
2024-01-25 16:42:08 +03:00

13 lines
210 B
Go

package entity
type SimpleError string
func (err SimpleError) Error() string {
return string(err)
}
const (
ErrNotFound SimpleError = "not found"
ErrNotImplemented SimpleError = "not implemented"
)