API Reference Source
public class | source

OptimisticLockError

Extends:

lib/errors/empty-result-error.js~BaseError → OptimisticLockError

Thrown when attempting to update a stale model instance

Member Summary

Public Members
public

The name of the model on which the update was attempted

public

The values of the attempted update

public

Public Members

public modelName: string source

The name of the model on which the update was attempted

public values: object source

The values of the attempted update

public where: object source