From 8ca659b66cd29543067dd75c6f25cae456125b57 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Sun, 30 Apr 2017 20:20:17 +0200 Subject: [PATCH] Remove FilterError so that only Filters.Error is used. --- CHANGELOG.md | 3 +++ Sources/Filters.swift | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de63bf90..2ae48348 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ _None_ * The `ParametersError` enum has been replaced by the `Parameters.Error` nested type. [Olivier Halligon](https://github.com/AliGator) [#?](https://github.com/SwiftGen/SwiftGenKit/pulls/#) +* The `FilterError` enum has been replaced by the `Filters.Error` nested type. + [Olivier Halligon](https://github.com/AliGator) + [#?](https://github.com/SwiftGen/SwiftGenKit/pulls/#) ### New Features diff --git a/Sources/Filters.swift b/Sources/Filters.swift index eac6d04b..4af6c1b4 100644 --- a/Sources/Filters.swift +++ b/Sources/Filters.swift @@ -7,10 +7,6 @@ import Foundation import Stencil -// For retro-compatibility. Remove in next major. -@available(*, deprecated, renamed: "Filters.Error", message: "Use the Filters.Error nested type instead") -typealias FilterError = Filters.Error - enum Filters { enum Error: Swift.Error { case invalidInputType