diff --git a/CHANGELOG.md b/CHANGELOG.md index f8dd28b..3a85b3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +* [#29](https://github.com/blackjacx/engine/pull/29): feat: add malformedUrl case to JWT.Error - [@blackjacx](https://github.com/blackjacx). + ## [0.3.0] - 2025-10-23Z * [#25](https://github.com/blackjacx/engine/pull/25): Support request output types - [@blackjacx](https://github.com/blackjacx). diff --git a/Sources/Engine/JWT/JWT.swift b/Sources/Engine/JWT/JWT.swift index 24a94aa..24a5b79 100644 --- a/Sources/Engine/JWT/JWT.swift +++ b/Sources/Engine/JWT/JWT.swift @@ -160,5 +160,9 @@ public struct JWT { case keyContainsNoData(String) case googleServiceAccountJsonNotFound(path: String) case invalidResonse(response: URLResponse) + /// The URL string is malformed or cannot be converted to a valid `URL`. + /// - Parameter url: The malformed URL string. + case malformedUrl(String) } } +