Errors raised by conflicts between object versions that were posted by the user and those that are stored on the server.
Description
The Conflicterror class is used to manage errors raised by conflicts between object versions that were posted by the user and those that are stored on the server
Constructors
NewConflictError
Creates an error instance and assigns its values.
NewConflictError(context, code, message string) *ApplicationError
- context: IContext - (optional) a context to trace execution through a call chain.
- code: string - (optional) unique error code. Default: “UNKNOWN”
- message: string - (optional) a human-readable description of the error.