CLASS
InvalidInputProblem
Contents
- Properties
invalidFields
errorDescription
- Methods
init(from:)
encode(to:)
public final class InvalidInputProblem: Problem
An error that occurs when an invalid form is submitted.
Properties
invalidFields
public let invalidFields: [InvalidField]
Information about each invalid form field.
errorDescription
public let errorDescription: String?
Description of the error.
Methods
init(from:)
public required init(from decoder: Decoder) throws
encode(to:)
override public func encode(to encoder: Encoder) throws