We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1932fca commit 47cb182Copy full SHA for 47cb182
FirebaseCore/Internal/Sources/HeartbeatLogging/RingBuffer.swift
@@ -26,6 +26,10 @@ struct RingBuffer<Element>: Sequence {
26
case outOfBoundsPush(pushIndex: Array<Element?>.Index, endIndex: Array<Element?>.Index)
27
28
var errorDescription: String? {
29
+ return (errorDescription as String)
30
+ }
31
+
32
+ var errorDescription: String {
33
switch self {
34
case let .outOfBoundsPush(pushIndex, endIndex):
35
return "Out-of-bounds push at index \(pushIndex) to ring buffer with" +
0 commit comments