mstar
391d8b1b48
- Added placeholder funcs for access tokens - Moved an error definition and added another constant - Changed (passkey) auth fail to return a json error for now - TODO: Change that into checking for a provided access token before failing
14 lines
365 B
Go
14 lines
365 B
Go
package storage
|
|
|
|
import "errors"
|
|
|
|
type ErrNotImplemented struct{}
|
|
|
|
func (n ErrNotImplemented) Error() string {
|
|
return "Not implemented yet"
|
|
}
|
|
|
|
var ErrEntryNotFound = errors.New("entry not found")
|
|
var ErrEntryAlreadyExists = errors.New("entry already exists")
|
|
var ErrNothingToChange = errors.New("nothing to change")
|
|
var ErrInvalidData = errors.New("invalid data")
|