Changed the scope of InputValidationError type in the library target to public.
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
// ===----------------------------------------------------------------------===
|
// ===----------------------------------------------------------------------===
|
||||||
|
|
||||||
/// A representation of all the possible validation error that could be thrown while validating an input.
|
/// 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.
|
/// An input is empty.
|
||||||
case inputIsEmpty
|
case inputIsEmpty
|
||||||
/// An input is nil.
|
/// An input is nil.
|
||||||
@@ -33,8 +33,8 @@ public struct Product: Sendable {
|
|||||||
/// Initializes this model.
|
/// Initializes this model.
|
||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
/// - name: A camel-cased name of a product.
|
/// - name: A camel-cased name of a product.
|
||||||
/// - version: A URI link related to a product.
|
/// - version: A semantic version of a product.
|
||||||
/// - url: A semantic version of a product.
|
/// - url: A URI link related to a product.
|
||||||
public init(
|
public init(
|
||||||
name: String,
|
name: String,
|
||||||
version: String,
|
version: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user