ExceptionFailed

Deprecated (with error)

Use ExpectationFailed instead

Replace with

import io.ktor.http.HttpStatusCode.Companion.ExpectationFailed
ExpectationFailed