/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.0-beta.1 * User agent: apibuilder app.apibuilder.io/chio/core-common/0.0.0-beta.1/http4s_0_15 */ package io.chio.core.common.v0.models { /** * A generic error providing a message and some basic meta data. * * @param id A guid for identifying the error e.g. in log files. * @param timestamp Timestamp of the when the error occurred. * @param source An optional source on which the error occurred. * @param `type` An optional type for categorizing e.g. `validation` or `invalid_state`. * @param message The actual message of the error. */ final case class GenericError( id: _root_.java.util.UUID, timestamp: _root_.java.time.Instant, source: _root_.scala.Option[String] = None, `type`: _root_.scala.Option[String] = None, message: String ) /** * Response model indicating the health of a service. * * @param health The current health of the service. Normally this is `healthy`, otherwise an * simple error message can be shown. */ final case class Healthcheck( health: String ) }