Structurevapor 4.114.1Vapor
ValidationsError
ValidationsError.swift:22struct ValidationsError
struct ValidationsError
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.
protocol AbortError : Error
Errors conforming to this protocol will always be displayed by Vapor to the end-user (even in production mode where most errors are silenced).
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Sendable
var description: String { get }
let failures: [ValidationResult]
var reason: String { get }
var status: HTTPResponseStatus { get }
var headers: HTTPHeaders { get }
See AbortError
.
var localizedDescription: String { get }
Retrieve the localized description for this error.