NotFoundException

class NotFoundException(message: String? = "Resource not found") : Exception

This exception means that the requested resource is not found. HTTP status 404 Not found will be replied when this exception is thrown and not caught. 404 status page could be configured by registering a custom io.ktor.plugins.StatusPages handler.

Constructors

Link copied to clipboard
fun NotFoundException(message: String? = "Resource not found")

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?