Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftdo try catchSingle-choice MCQ

What happens when this code runs?

enum FetchError: Error { case offline } func load() throws -> String { throw FetchError.offline } let data = try? load() print(data as Any)