automorph.protocol.webrpc
package automorph.protocol.webrpc
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 FunctionNotFound.typeobject InvalidArguments.typeobject InvalidRequest.typeobject ServerError.type
object ErrorType
JSON-RPC error types with codes.
JSON-RPC error types with codes.
Attributes
Web-RPC protocol message structure.
Web-RPC protocol message structure.
Type parameters
- Node
-
message node type
Value parameters
- error
-
failed method call error details
- result
-
succesful method call result value
Attributes
- See also
- Companion
- object
- Supertypes
object Message
Web-RPC protocol message error structure.
Web-RPC protocol message error structure.
Value parameters
- code
-
error code
- message
-
error message
Attributes
- See also
- Supertypes
object MessageType
Attributes
- Companion
- class
- Supertypes
- Self type
-
MessageType.type
Web-RPC API error exception.
Web-RPC API error exception.
API methods bound via an RPC request handler can throw this exception to customize Web-RPC error response.
Value parameters
- cause
-
exception cause
- code
-
error code
- message
-
error message
Attributes
- Constructor
-
Creates a new Web-RPC error exception.
- See also
- Supertypes
In this article