aoserrors

package
v0.0.0-...-d5bc497 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 68

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

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

Errorf creates new formatted Aos error.

func New

func New(message string) error

New creates new Aos error from string message.

func Wrap

func Wrap(fromErr error) error

Wrap wraps existing error.

Types

type Error

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

Error Aos error type.

func (*Error) Error

func (aosErr *Error) Error() string

Error returns Aos error message.

func (*Error) Unwrap

func (aosErr *Error) Unwrap() error

Unwrap unwraps error.

Jump to

Keyboard shortcuts

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