commonMain.hassemble.core.ErrorResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hassemble-jvm Show documentation
Show all versions of hassemble-jvm Show documentation
Interact with your Home Assistant server using Kotlin.
The newest version!
package hassemble.core
import kotlinx.serialization.Serializable
/**
* A data class representing home assistant's error response details
*
* @property code error code returning from home assistant
* @property message error message returning from home assistant
*/
@Serializable
data class ErrorResponse(val code: String, val message: String)