(message, attempts)
| 70 | // --------- |
| 71 | // This error is returned when there is an error locking a resource. |
| 72 | function LockError(message, attempts) { |
| 73 | Error.call(this); |
| 74 | Error.captureStackTrace(this, LockError); |
| 75 | this.name = 'LockError'; |
| 76 | this.message = message || 'Failed to lock the resource.'; |
| 77 | this.attempts = attempts; |
| 78 | } |
| 79 | |
| 80 | util.inherits(LockError, Error); |
| 81 |
nothing calls this directly
no outgoing calls
no test coverage detected