# Functions
IsErrorCodeEmptyRepo checks if an error has an error code of ErrorCodeEmptyRepo.
IsNoPermission check the error is NoPermission.
IsNotFound checks if an error is of type "notfoundError" and returns true if it is.
New the new errorImpl struct.
NewInvalidParam new the invalid param.
NewNoPermission new the no permission error.
NewNotFound new the not found error.
NewOverLimit creates a new over limit error with the specified code and message.
# Constants
ErrorCodeEmptyRepo means the repo is empty.
ErrorCodeModelNotFound means model is not found.
ErrorCodeRepoNotFound means repo is not found.