Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftuiux committed Jul 5, 2022
1 parent 76b0680 commit a463944
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/d3-stories-instagram/data/StoriesError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import Foundation


@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 6.0, *)
/// Description for errors foind while validating ``IStory`` data set
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 6.0, *)
public struct StoriesError: IStoriesError {

public let description: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import SwiftUI
/// Set of errors for input data validation
enum StoriesInternalError: String, IStoriesValidater, IStoriesError {


case empty = "There are no stories"

case duration = "Duration must be a positive number greater than zero"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation


/// Custom validator
/// Custom validator for stories
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 6.0, *)
public struct CustomStoriesValidater: IStoriesValidater{

Expand Down

0 comments on commit a463944

Please sign in to comment.