automorph.protocol.jsonrpc
Members list
Type members
Classlikes
JSON-RPC error type with code.
JSON-RPC error type with code.
Attributes
- See also
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ApplicationError.typeobject InternalError.typeobject InvalidParams.typeobject InvalidRequest.typeobject MethodNotFound.typeobject ParseError.typeobject ReservedError.typeobject ServerError.typeShow all
JSON-RPC error types with codes.
JSON-RPC error types with codes.
Attributes
JSON-RPC API error exception.
JSON-RPC API error exception.
API methods bound via an RPC request handler can throw this exception to customize JSON-RPC error response.
Type parameters
- Node
-
message codec node representation type
Value parameters
- cause
-
exception cause
- code
-
error code
- data
-
additional error information
- message
-
error description
Attributes
- Constructor
-
Creates a new JSON-RPC error exception.
- See also
- Supertypes
JSON-RPC protocol message structure.
JSON-RPC protocol message structure.
Type parameters
- Node
-
message node type
Value parameters
- error
-
failed method call error details
- id
-
call identifier, a request without and identifier is considered to be a notification
- jsonrpc
-
protocol version (must be 2.0)
- method
-
invoked method name
- params
-
invoked method argument values by position or by name
- result
-
succesful method call result value
Attributes
- See also
- Companion
- object
- Supertypes
JSON-RPC protocol message error structure.
JSON-RPC protocol message error structure.
Type parameters
- Node
-
message node type
Value parameters
- code
-
error code
- data
-
additional error information
- message
-
error message
Attributes
- See also
- Supertypes
JSON-RPC message type.
JSON-RPC message type.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
- Self type
-
MessageType.type