Instance Propertyvapor 4.114.1Vapor
failureDescription
Valid.swift:27var failureDescription: String? { get }
var failureDescription: String? { get }
s5Vapor16ValidatorResultsV5ValidV18failureDescriptionSSSgvp
What are these?9JBGO
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
struct Valid
ValidatorResult
of a validator that validates that the data is valid`.
struct ValidatorResults
@frozen struct String
A Unicode string value that is a collection of characters.
var isFailure: Bool { get }
let isValid: Bool
As this validates nothing, this is always true.
var successDescription: String? { get }