/
errors.go
24 lines (22 loc) · 1.16 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package credentials
import (
"errors"
)
// Exported Errors
var (
ErrNotFound = errors.New("entity not found")
ErrMissingManagingOrganization = errors.New("missing managing organization")
ErrMissingName = errors.New("missing name value")
ErrMissingDescription = errors.New("missing description value")
ErrMalformedInputValue = errors.New("malformed input value")
ErrMissingOrganization = errors.New("missing organization")
ErrMissingProposition = errors.New("missing proposition")
ErrMissingGlobalReference = errors.New("missing global reference")
ErrMissingProductKey = errors.New("missing product key")
ErrNotImplementedByHSDP = errors.New("method not implemented by HSDP")
ErrEmptyResults = errors.New("empty results")
ErrOperationFailed = errors.New("operation failed")
ErrBaseURLCannotBeEmpty = errors.New("Credentials base URL cannot be empty")
ErrCouldNoReadResourceAfterCreate = errors.New("could not read resource after create")
ErrEmptyResult = errors.New("empty result")
)