Skip to content

Commit

Permalink
Remove extra dot
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Jul 18, 2024
1 parent bf4d9c6 commit f420cce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Networking/NetworkingError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension DecodingError {
errorMessage += " Coding path: \(codingPath)."
}
if !context.debugDescription.isEmpty {
errorMessage += " Debug description: \(context.debugDescription)."
errorMessage += " Debug description: \(context.debugDescription)"
}
case .valueNotFound(let type, let context):
errorMessage += "Value not found for type \(type)."
Expand All @@ -51,7 +51,7 @@ extension DecodingError {
errorMessage += " Coding path: \(codingPath)."
}
if !context.debugDescription.isEmpty {
errorMessage += " Debug description: \(context.debugDescription)."
errorMessage += " Debug description: \(context.debugDescription)"
}
case .keyNotFound(let key, let context):
errorMessage += "Key '\(key.stringValue)' not found."
Expand All @@ -60,7 +60,7 @@ extension DecodingError {
errorMessage += " Coding path: \(codingPath)."
}
if !context.debugDescription.isEmpty {
errorMessage += " Debug description: \(context.debugDescription)."
errorMessage += " Debug description: \(context.debugDescription)"
}
case .dataCorrupted(let context):
errorMessage += "Data corrupted."
Expand All @@ -69,7 +69,7 @@ extension DecodingError {
errorMessage += " Coding path: \(codingPath)."
}
if !context.debugDescription.isEmpty {
errorMessage += " Debug description: \(context.debugDescription)."
errorMessage += " Debug description: \(context.debugDescription)"
}
@unknown default:
errorMessage += "Unknown decoding error occurred."
Expand Down

0 comments on commit f420cce

Please sign in to comment.