AppException
Errors app
Types
Link copied to clipboard
data class Error400(val msg: String? = null, val status: HttpStatusCode = HttpStatusCode.BadRequest) : AppException
Content copied to clipboard
Error 400
Link copied to clipboard
data class Error404(val msg: String? = null, val status: HttpStatusCode = HttpStatusCode.NotFound) : AppException
Content copied to clipboard
Error 404
Link copied to clipboard
data class Error422( val msg: String? = null, val violation: Set<ConstraintViolation<*>> = emptySet(), val status: HttpStatusCode = HttpStatusCode.UnprocessableEntity) : AppException
Content copied to clipboard
Error 422
Link copied to clipboard
data class Error500(val status: HttpStatusCode = HttpStatusCode.InternalServerError) : AppException
Content copied to clipboard
Error 500
Link copied to clipboard
data class ErrorAuthorized(val status: HttpStatusCode = HttpStatusCode.Unauthorized) : AppException
Content copied to clipboard
Error authorized
Link copied to clipboard
data class ErrorForbidden(val msg: String? = null, val status: HttpStatusCode = HttpStatusCode.Forbidden) : AppException
Content copied to clipboard
Error forbidden
Link copied to clipboard
data class JsonDecodingException(val msg: String? = null, val status: HttpStatusCode = HttpStatusCode.BadRequest) : AppException
Content copied to clipboard
Error json parse