SDK v3 #8

Merged
SoXX merged 77 commits from dev/issue-5 into main 2024-08-14 13:27:35 +00:00
Showing only changes of commit 7720110a0a - Show all commits

View File

@ -3,13 +3,18 @@ package error
import "fmt" import "fmt"
const ( const (
UserIDIsEmpty = "anthrovePostID cannot be empty" UserIDIsEmpty = "PostID cannot be empty"
UserIDToShort = "anthrovePostID needs to be 25 characters long" UserIDToShort = "PostID needs to be 25 characters long"
SourceIDEmpty = "anthroveSourceID cannot be empty" SourceIDEmpty = "SourceID cannot be empty"
SourceIDToShort = "anthroveSourceID needs to be 25 characters long" SourceIDToShort = "SourceID needs to be 25 characters long"
UserSourceIDEmpty = "anthroveUserSourceID cannot be empty" UserSourceIDEmpty = "UserSourceID cannot be empty"
UserSourceIDToShort = "anthroveUserSourceID needs to be 25 characters long" UserSourceIDToShort = "UserSourceID needs to be 25 characters long"
TagIDEmpty = "tagID cannot be empty" TagIDEmpty = "tagID cannot be empty"
UserFavoriteListIsEmpty = "userFavoriteList cannot be empty"
UserFavoriteIDIsEmpty = "userFavoriteID cannot be empty"
UserFavoriteIDToShort = "UserFavoriteID needs to be 25 characters long"
BatchSizeIsEmpty = "batchSize cannot be empty"
) )
type EntityValidationFailed struct { type EntityValidationFailed struct {