ResourceNotFoundException

fun ResourceNotFoundException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null)

Parameters

response

: HttpResponse containing the details of the response

responseText

: The message of the response as text

cause

: Cause of the exception