StatusCode

object StatusCode

Object to represent the status codes used to respond to requests.

Properties

Link copied to clipboard
const val BAD_REQUEST: Int = 400
Link copied to clipboard
const val CREATED: Int = 201
Link copied to clipboard
const val FORBIDDEN: Int = 403
Link copied to clipboard
const val INTERNAL_SERVER_ERROR: Int = 500
Link copied to clipboard
const val NOT_FOUND: Int = 404
Link copied to clipboard
const val OK: Int = 200