add not found error message (#646)

This commit is contained in:
msizov
2025-03-29 20:31:43 +07:00
committed by GitHub
parent 3b7041d495
commit 074c22924b

View File

@@ -26,7 +26,8 @@ class BeaconChainLowerBoundBlockDetector(
companion object {
val notFoundError = "NOT_FOUND:" // e.g. {"message":"NOT_FOUND: beacon block at slot 1086646","code":404}
val notFoundError2 = "Could not find requested block" // {"message":"Could not find requested block: signed beacon block can't be nil","code":404}
val stateErrors = setOf(notFoundError, notFoundError2)
val notFoundError3 = "has not been found" // Block header/data has not been found
val stateErrors = setOf(notFoundError, notFoundError2, notFoundError3)
}
override fun period(): Long {