ktor-server-core / io.ktor.features / ParameterConversionException

ParameterConversionException

class ParameterConversionException : BadRequestException, CopyableThrowable<ParameterConversionException>

This exception is thrown when a required parameter with name parameterName couldn't be converted to the type

Constructors

<init>

ParameterConversionException(parameterName: String, type: String, cause: Throwable? = null)

This exception is thrown when a required parameter with name parameterName couldn't be converted to the type

Properties

parameterName

val parameterName: String

of missing request parameter

type

val type: String

this parameter is unable to convert to

Functions

createCopy

fun createCopy(): ParameterConversionException