Changed the scope of InputValidationError type in the library target to public.

This commit is contained in:
2025-10-13 02:44:35 +02:00
parent 48ad88ef92
commit 0d78b9a6df
2 changed files with 3 additions and 3 deletions
@@ -13,7 +13,7 @@
// ===----------------------------------------------------------------------===
/// A representation of all the possible validation error that could be thrown while validating an input.
enum InputValidationError: Error {
public enum InputValidationError: Error {
/// An input is empty.
case inputIsEmpty
/// An input is nil.
@@ -33,8 +33,8 @@ public struct Product: Sendable {
/// Initializes this model.
/// - Parameters:
/// - name: A camel-cased name of a product.
/// - version: A URI link related to a product.
/// - url: A semantic version of a product.
/// - version: A semantic version of a product.
/// - url: A URI link related to a product.
public init(
name: String,
version: String,