errors

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{}) error

Errorf formats error

func NewError

func NewError(status int32, message string) error

NewError return error from Apache Ignite status and message

func Wrapf

func Wrapf(err error, format string, a ...interface{}) error

Wrapf formats error

Types

type IgniteError

type IgniteError struct {
	// Apache Ignite specific status and message
	IgniteStatus  int32
	IgniteMessage string

	fmt.Stringer
	// contains filtered or unexported fields
}

IgniteError is Apache Ignite error

func (*IgniteError) Error

func (e *IgniteError) Error() string

func (*IgniteError) String

func (e *IgniteError) String() string

Stringer is implemented by any value that has a String method, which defines the “native” format for that value. The String method is used to print values passed as an operand to any format that accepts a string or to an unformatted printer such as Print.

Jump to

Keyboard shortcuts

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