X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FJsonErrorReturnObject.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FJsonErrorReturnObject.kt;h=535a3d06aeaf66c1b888944c150dea5fcd78ef97;hb=1114ac09c29f29c4194f4ac9616d66d282e46329;hp=0000000000000000000000000000000000000000;hpb=218bb044316c3486ea566a33d3d41254308b80d3;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/ajax/JsonErrorReturnObject.kt b/src/main/kotlin/net/pterodactylus/sone/web/ajax/JsonErrorReturnObject.kt new file mode 100644 index 0000000..535a3d0 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/web/ajax/JsonErrorReturnObject.kt @@ -0,0 +1,6 @@ +package net.pterodactylus.sone.web.ajax + +/** + * [JsonReturnObject] that signals an error has occured. + */ +data class JsonErrorReturnObject(val error: String) : JsonReturnObject(false)