Skip to content

Commit

Permalink
Expose MissingConnectionId + InvalidURL + InvalidJSON Errors (#3332)
Browse files Browse the repository at this point in the history
* Expose MissingConnectionId + InvalidURL + InvalidJSON Errors

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
  • Loading branch information
nuno-vieira authored Jul 24, 2024
1 parent de9faf4 commit e4931b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

# Upcoming

### 🔄 Changed
## StreamChat
### ✅ Added
- Expose `MissingConnectionId` + `InvalidURL` + `InvalidJSON` Errors [#3332](https://github.com/GetStream/stream-chat-swift/pull/3332)

# [4.60.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.60.0)
_July 18, 2024_
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChat/APIClient/RequestEncoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ protocol ConnectionDetailsProviderDelegate: AnyObject {
func provideToken(timeout: TimeInterval, completion: @escaping (Result<Token, Error>) -> Void)
}

extension ClientError {
public extension ClientError {
final class InvalidURL: ClientError {}
final class InvalidJSON: ClientError {}
final class MissingConnectionId: ClientError {}
Expand Down

0 comments on commit e4931b7

Please sign in to comment.