api

http4k / org.http4k.jsonrpc / ErrorMessage

ErrorMessage

open class ErrorMessage (source)

Constructors

Name Summary
<init> ErrorMessage(code: Int, message: String)

Properties

Name Summary
code val code: Int
message val message: String

Functions

Name Summary
data open fun <NODE> data(json: Json<NODE>): NODE?
invoke operator fun <NODE> invoke(json: Json<NODE>): NODE

Companion Object Properties

Name Summary
InternalError val InternalError: ErrorMessage
InvalidParams val InvalidParams: ErrorMessage
InvalidRequest val InvalidRequest: ErrorMessage
MethodNotFound val MethodNotFound: ErrorMessage
ParseError val ParseError: ErrorMessage

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T