Skip to content

Commit

Permalink
fix(Helix): no more commits after midnight, forgot to add a file to t…
Browse files Browse the repository at this point in the history
…he previous one
  • Loading branch information
LosFarmosCTL committed Sep 9, 2024
1 parent 121faba commit 16a9099
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Sources/Twitch/Helix/HelixError.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import Foundation

public enum HelixError: Error {
case networkError(wrapped: Error)
case twitchError(name: String, status: Int, message: String)

case parsingResponseFailed(rawResponse: String)
case parsingErrorFailed(status: Int, rawResponse: String)
case parsingResponseFailed(responseData: Data)
case parsingErrorFailed(status: Int, responseData: Data)

case noDataInResponse
case missingDataInResponse

case nonEmptyResponse(rawResponse: String)
case nonEmptyResponse(responseData: Data)
}

0 comments on commit 16a9099

Please sign in to comment.