Home Reference Source
import {Lock_Not_Owned} from 'geis/es6/errors/index.js'
public class | source

Lock_Not_Owned

Extends:

es6-error~Extendable_Errores6/errors/index.js~Error → Lock_Not_Owned

thrown when a lock was attempted to be released, but was obtained by a different process. useful for branching Promise.catch

Constructor Summary

Public Constructor
public

returns a new instance of Lock_Not_Owned

Public Constructors

public constructor(msg: String) source

returns a new instance of Lock_Not_Owned

Params:

NameTypeAttributeDescription
msg String
  • optional
  • default: 'tried

to release a lock not owned by this process'] the message the Error will have