Skip to content

Commit 2b1b56e

Browse files
committed
Make RowDecodingError public
1 parent ad704c5 commit 2b1b56e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

GRDB/Core/RowDecodingError.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ enum RowKey: Hashable, Sendable {
2323
case prefetchKey(String)
2424
}
2525

26-
/// A decoding error
27-
@usableFromInline
28-
struct RowDecodingError: Error {
26+
/// A decoding error thrown when decoding a database row.
27+
public struct RowDecodingError: Error {
2928
enum Impl {
3029
case keyNotFound(RowKey, Context)
3130
case valueMismatch(Any.Type, Context)
@@ -177,8 +176,7 @@ struct RowDecodingContext {
177176
}
178177

179178
extension RowDecodingError: CustomStringConvertible {
180-
@usableFromInline
181-
var description: String {
179+
public var description: String {
182180
let context = self.context
183181
let row = context.row
184182
var chunks: [String] = []

0 commit comments

Comments
 (0)