mirror of https://codeberg.org/pzp/pzp-db.git
remove unused error msg
This commit is contained in:
parent
f40ea71ff9
commit
3636acaaa3
|
@ -57,10 +57,6 @@ function appendLargerThanBlockErr() {
|
||||||
return new Error('Data to be appended is larger than block size')
|
return new Error('Data to be appended is larger than block size')
|
||||||
}
|
}
|
||||||
|
|
||||||
function appendTransactionWantsArrayErr() {
|
|
||||||
return new Error('appendTransaction expects first argument to be an array')
|
|
||||||
}
|
|
||||||
|
|
||||||
function unexpectedTruncationErr() {
|
function unexpectedTruncationErr() {
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
return new Error('truncate() is trying to *increase* the log size, which is totally unexpected. There may be a logic bug in the log')
|
return new Error('truncate() is trying to *increase* the log size, which is totally unexpected. There may be a logic bug in the log')
|
||||||
|
@ -75,6 +71,5 @@ module.exports = {
|
||||||
delDuringCompactErr,
|
delDuringCompactErr,
|
||||||
compactWithMaxLiveStreamErr,
|
compactWithMaxLiveStreamErr,
|
||||||
appendLargerThanBlockErr,
|
appendLargerThanBlockErr,
|
||||||
appendTransactionWantsArrayErr,
|
|
||||||
unexpectedTruncationErr,
|
unexpectedTruncationErr,
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@ const {
|
||||||
outOfBoundsOffsetErr,
|
outOfBoundsOffsetErr,
|
||||||
// delDuringCompactErr,
|
// delDuringCompactErr,
|
||||||
appendLargerThanBlockErr,
|
appendLargerThanBlockErr,
|
||||||
appendTransactionWantsArrayErr,
|
|
||||||
unexpectedTruncationErr,
|
unexpectedTruncationErr,
|
||||||
// compactWithMaxLiveStreamErr,
|
// compactWithMaxLiveStreamErr,
|
||||||
} = require('./errors')
|
} = require('./errors')
|
||||||
|
|
Loading…
Reference in New Issue