Skip to content

Commit

Permalink
♻️ Expose public init for ApppcuesTraitError
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt committed Apr 11, 2023
1 parent 1c254b3 commit 4ba87ab
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ public struct AppcuesTraitError: Error, CustomStringConvertible {
///
/// This value will be logged to Appcues Studio.
public var description: String

/// Creates an instance of an error.
/// - Parameter description: A description of the nature of the error.
public init(description: String) {
self.description = description
}
}

0 comments on commit 4ba87ab

Please sign in to comment.