Classes
The following classes are available globally.
-
An error that can be thrown. Encapsulates the type of error, the description, and any additional metadata.
See moreDeclaration
Swift
open class Exception : Error, CustomStringConvertible
-
An exception thrown when a file or directory on the file system cannot be found.
See moreDeclaration
Swift
open class FileNotFoundException : IOException
-
An exception thrown when a nil value of any type is accessed. Catch this exception when you only care about a nil value and not what type the value should have been.
Declaration
Swift
open class AnyNilException : Exception
-
An exception thrown when an unexpected nil value of a specific type is accessed. Catch this exception when you care about the specific type a nil value should have been.
See moreDeclaration
Swift
open class NilException<T> : AnyNilException