This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

23 lines
455 B
Swift

//
// Exception.swift
// SwifSoup
//
// Created by Nabil Chatbi on 02/10/16.
// Copyright © 2016 Nabil Chatbi.. All rights reserved.
//
import Foundation
public enum ExceptionType {
case IllegalArgumentException
case IOException
case XmlDeclaration
case MalformedURLException
case CloneNotSupportedException
case SelectorParseException
}
public enum Exception: Error {
case Error(type:ExceptionType, Message: String)
}