gotsrpc

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error string

Error type

const (
	ErrorNotFound         Error = "notFound"
	ErrorForbidden        Error = "forbidden"
	ErrorPermissionDenied Error = "permissionDenied"
)

Common errors

func NewError

func NewError(e Error) *Error

NewError returns a pointer error

func (*Error) Error

func (e *Error) Error() string

Error interface

func (*Error) Is added in v0.2.0

func (e *Error) Is(err error) bool

Is interface

Jump to

Keyboard shortcuts

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