Skip to content

Commit

Permalink
FetchException should extend IOException
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Jan 22, 2024
1 parent d1a1121 commit b5eb1f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/util/FetchException.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.amplitude.experiment.util

import okio.IOException

class FetchException internal constructor(
val statusCode: Int,
message: String
) : Exception(message)
) : IOException(message)

0 comments on commit b5eb1f2

Please sign in to comment.