ssap_app/node_modules/expo/ios/Fetch/FetchExceptions.swift

22 lines
499 B
Swift

// Copyright 2015-present 650 Industries. All rights reserved.
import ExpoModulesCore
internal final class FetchUnknownException: Exception {
override var reason: String {
"Unknown error"
}
}
internal final class FetchRequestCanceledException: Exception {
override var reason: String {
"Fetch request has been canceled"
}
}
internal final class FetchRedirectException: Exception {
override var reason: String {
"Redirect is not allowed when redirect mode is 'error'"
}
}