status

package
v0.0.0-...-8ed4e6a Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	// contains filtered or unexported fields
}

func New

func New(code scql.Code, msg string) *Status

func NewStatusFromProto

func NewStatusFromProto(status *scql.Status) *Status

func Wrap

func Wrap(code scql.Code, err error) *Status

func (*Status) Code

func (s *Status) Code() scql.Code

func (*Status) Error

func (s *Status) Error() string

func (*Status) Message

func (s *Status) Message() string

func (*Status) ToProto

func (s *Status) ToProto() *scql.Status

func (*Status) Unwrap

func (s *Status) Unwrap() error

Jump to

Keyboard shortcuts

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