mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 22:08:46 +00:00
feat(eventstore): sdk (#39)
* sdk * fix(sdk): return correct error type * AppendEventError instead of Aggregater error * fix(tests): tests * fix(tests): wantErr to is error func
This commit is contained in:
@@ -19,7 +19,7 @@ type UnauthenticatedError struct {
|
||||
}
|
||||
|
||||
func ThrowUnauthenticated(parent error, id, message string) error {
|
||||
return &UnauthenticatedError{createCaosError(parent, id, message)}
|
||||
return &UnauthenticatedError{CreateCaosError(parent, id, message)}
|
||||
}
|
||||
|
||||
func ThrowUnauthenticatedf(parent error, id, format string, a ...interface{}) error {
|
||||
|
||||
Reference in New Issue
Block a user