GenericError

public enum GenericError : String, Error

Common Marta errors.

  • An unknown error.

    Declaration

    Swift

    case unknown = "An error occurred"
  • The operation is not supported on this file system.

    Declaration

    Swift

    case unsupported = "This operation is not supported on this file system"
  • The operation was interrupted.

    Declaration

    Swift

    case interrupted = "The operation was interrupted"
  • Declaration

    Swift

    public var description: String
  • Wrap the given error to the value of IOError.

    Declaration

    Swift

    public static func get(_ error: Error) -> MartaError
  • Wrap the errno code to the value of IOError.

    Declaration

    Swift

    public static func get(_ errno: Int32) -> MartaError