mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-24 09:59:52 +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 PreconditionFailedError struct {
|
||||
}
|
||||
|
||||
func ThrowPreconditionFailed(parent error, id, message string) error {
|
||||
return &PreconditionFailedError{createCaosError(parent, id, message)}
|
||||
return &PreconditionFailedError{CreateCaosError(parent, id, message)}
|
||||
}
|
||||
|
||||
func ThrowPreconditionFailedf(parent error, id, format string, a ...interface{}) error {
|
||||
|
||||
Reference in New Issue
Block a user