Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bpavuk committed Dec 2, 2024
1 parent 5a960f2 commit f32f2ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@ enum class FinishReason(override val serialName: String) : SerializableEnum<Fini
}

@Serializable
data class GRpcError(val code: Int, val message: String, val details: List<GRpcErrorDetails>)
data class GRpcError(val code: Int, val message: String, val details: List<GRpcErrorDetails> = emptyList())

@Serializable data class GRpcErrorDetails(val reason: String? = null)

0 comments on commit f32f2ad

Please sign in to comment.