A set of additions to Error
, CocoaError
, and URLError
which provide some handy features:
Error
from a POSIX error code or an OSStatus
.Error
represents a file not found error, a permissions error, or a cancellation error, regardless of the error's domain.Error
in a RecoverableError
to present recovery options in error dialogs.CocoaError
or a URLError
containing any of their supported userInfo
dictionary keys.CSErrors+Foundation
package provides some handy Foundation-specific features.These additions are free for any use under the terms of the MIT license.
Charles Srstka
link |
Stars: 2 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics