Enumerationvapor 4.114.1Vapor
Error
Errors that may be thrown when serving a server
enum Error
Errors that may be thrown when serving a server
enum Error
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.
final class ServeCommand
Boots the application’s server. Listens for SIGINT
and SIGTERM
for graceful shutdown.
case incompatibleFlags
Incompatible flags were used together (for instance, specifying a socket path along with a port)
var help: String { get }
let signature: ServeCommand.Signature
func run(using context: CommandContext, signature: Signature) async throws
struct Signature
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
var localizedDescription: String { get }
Retrieve the localized description for this error.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.