Vapor Documentation Beta

Structure Validations​Error

public struct ValidationsError: Error
%3 ValidationsError ValidationsError Error Error ValidationsError->Error AbortError AbortError ValidationsError->AbortError CustomStringConvertible CustomStringConvertible ValidationsError->CustomStringConvertible

Conforms To

AbortError

Errors conforming to this protocol will always be displayed by Vapor to the end-user (even in production mode where most errors are silenced).

CustomStringConvertible
Error

Properties

failures

let failures: [ValidationResult]

description

var description: String

status

var status: HTTPResponseStatus

reason

var reason: String