Documentation Language: Swift

Property

notFound

404 Not Found response.

static var notFound: HTTPResponse { get }

Discussion

Returned when the requested file or resource does not exist.

See Also

Creating Error Responses

?
badRequest

400 Bad Request response.

?
forbidden

403 Forbidden response.

?
methodNotAllowed

405 Method Not Allowed response.

?
internalServerError

500 Internal Server Error response.