JsonRpcError

grapple.json.rpc.JsonRpcError
See theJsonRpcError companion object
sealed class JsonRpcError extends JsonException

Defines JSON-RPC error.

Attributes

Companion
object
Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def code: Int

Gets error code.

Gets error code.

Attributes

def data: Option[JsonValue]

Gets optional error data.

Gets optional error data.

Attributes

def isInternalError: Boolean

Tests for internal error.

Tests for internal error.

Attributes

def isInvalidParams: Boolean

Tests for invalid params.

Tests for invalid params.

Attributes

def isInvalidRequest: Boolean

Tests for invalid request.

Tests for invalid request.

Attributes

def isMethodNotFound: Boolean

Tests for method not found.

Tests for method not found.

Attributes

def isParseError: Boolean

Tests for parse error.

Tests for parse error.

Attributes

def isServerError: Boolean

Tests for server error.

Tests for server error.

Attributes

def message: String

Gets error message.

Gets error message.

Attributes

override def toString: String

Returns string representation of error.

Returns string representation of error.

Attributes

Definition Classes
Throwable -> Any

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable