Skip to content

Commit

Permalink
Update Exceptions.kt
Browse files Browse the repository at this point in the history
Renamed new exception from ApolloWebSocketException to ApolloWebSocketClosedException
  • Loading branch information
dchappelle authored Jul 20, 2021
1 parent c310a5e commit 2baf8c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ApolloNetworkException(message: String? = null, cause: Throwable? = null)
/**
* A WebSocket connection could not be established: e.g., expired token
*/
class ApolloWebSocketException(
class ApolloWebSocketClosedException(
val code: Int,
message: String? = null,
cause: Throwable? = null) : ApolloException(message = message, cause = cause)
Expand Down

0 comments on commit 2baf8c2

Please sign in to comment.