errors

package
v3.58.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUCCESS                int32 = 0
	TSC_INVALID_CONNECTION int32 = 0x020B
	UNKNOWN                int32 = 0xffff
)

Variables

View Source
var (
	ErrTscInvalidConnection = &TaosError{
		Code:   TSC_INVALID_CONNECTION,
		ErrStr: "Invalid connection",
	}
)

Functions

func NewError

func NewError(code int, errStr string) error

Types

type TaosError

type TaosError struct {
	Code   int32
	ErrStr string
}

func (*TaosError) Error

func (e *TaosError) Error() string

Jump to

Keyboard shortcuts

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