qerror

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

Error qlite system error type

func Copy added in v0.2.2

func Copy(src []byte) *Error

New error to copy byte array

func CopyError added in v0.3.0

func CopyError(err error) *Error

CopyError to Error

func New

func New(buf []byte) *Error

New error

func NewString

func NewString(msg string) *Error

NewString new error to string

func (*Error) Copy

func (e *Error) Copy() *Error

Copy an new error

func (*Error) Error

func (e *Error) Error() string

Error to error interface

func (*Error) Msg added in v0.4.13

func (e *Error) Msg() []byte

func (*Error) Size added in v0.4.13

func (e *Error) Size() int

Jump to

Keyboard shortcuts

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