Response

ch.linkyard.mcp.jsonrpc2.JsonRpc.Response
See theResponse companion trait
object Response

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Response.type

Members list

Type members

Classlikes

case class Error(id: Id, code: ErrorCode, message: String, data: Option[Json]) extends Response

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Response
trait Message
class Object
trait Matchable
class Any
Show all
case class Success(id: Id, result: JsonObject) extends Response

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Response
trait Message
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Givens

Givens

given given_Decoder_Error: Decoder[Error]
given given_Decoder_Success: Decoder[Success]
given given_Encoder_Error: Encoder[Error]
given given_Encoder_Success: Encoder[Success]