JsonRpcError

org.llm4s.mcp.JsonRpcError
See theJsonRpcError companion object
case class JsonRpcError(code: Int, message: String, data: Option[Value])

JSON-RPC 2.0 error structure used in failed responses.

Value parameters

code

Numeric error code

data

Optional additional error data

message

Human-readable error description

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product