BadRequestException

class BadRequestException(val error: String?, val apiMessage: String?) : KoaniException

Exception thrown when a 400 Bad Request response is received from the API.

Constructors

Link copied to clipboard
constructor(error: String?, apiMessage: String?)

Properties

Link copied to clipboard

The error message returned by the API.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

The error code returned by the API.

Link copied to clipboard
expect open val message: String?