errors

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCError

type RPCError struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

func NewGenericError

func NewGenericError(err string) *RPCError

func NewInternalError

func NewInternalError() *RPCError

func NewInvalidParams

func NewInvalidParams() *RPCError

func NewInvalidRequest

func NewInvalidRequest() *RPCError

func NewMethodNotFound

func NewMethodNotFound() *RPCError

func NewParseError

func NewParseError() *RPCError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL