Documentation ¶ Index ¶ func Is(err error) bool func New(ctx context.Context, details string) error type ConcurrencyError type Impl func (e *Impl) Ctx() context.Context func (e *Impl) Error() string func (e *Impl) IsConcurrency() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Is ¶ func Is(err error) bool func New ¶ func New(ctx context.Context, details string) error Types ¶ type ConcurrencyError ¶ type ConcurrencyError interface { Ctx() context.Context IsConcurrency() bool } ConcurrencyError is raised when a concurrent update is detected. type Impl ¶ type Impl struct { // contains filtered or unexported fields } func (*Impl) Ctx ¶ func (e *Impl) Ctx() context.Context func (*Impl) Error ¶ func (e *Impl) Error() string func (*Impl) IsConcurrency ¶ func (e *Impl) IsConcurrency() bool Source Files ¶ View all Source files error.go Click to show internal directories. Click to hide internal directories.