JsonRpcError

sealed class JsonRpcError extends JsonException

Defines JSON-RPC error.

Companion
object
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def code: Int

Gets error code.

Gets error code.

def data: Option[JsonValue]

Gets optional error data.

Gets optional error data.

def isInternalError: Boolean

Tests for internal error.

Tests for internal error.

def isInvalidParams: Boolean

Tests for invalid params.

Tests for invalid params.

def isInvalidRequest: Boolean

Tests for invalid request.

Tests for invalid request.

def isMethodNotFound: Boolean

Tests for method not found.

Tests for method not found.

def isParseError: Boolean

Tests for parse error.

Tests for parse error.

def isServerError: Boolean

Tests for server error.

Tests for server error.

def message: String

Gets error message.

Gets error message.

override def toString: String

Returns string representation of error.

Returns string representation of error.

Definition Classes
Throwable -> Any

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from
Throwable
def fillInStackTrace(): Throwable
Inherited from
Throwable
def getCause(): Throwable
Inherited from
Throwable
def getLocalizedMessage(): String
Inherited from
Throwable
def getMessage(): String
Inherited from
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from
Throwable
def printStackTrace(): Unit
Inherited from
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from
Throwable