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

Lock_Lost

Extends:

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

thrown when a lock was attempted to be released, but it had already expired. useful for branching Promise.catch

Constructor Summary

Public Constructor
public

returns a new instance of Lock_Lost

Public Constructors

public constructor(msg: String) source

returns a new instance of Lock_Lost

Params:

NameTypeAttributeDescription
msg String
  • optional
  • default: 'tried

to release a lock but it had already expired'] the message the Error will have