exception

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exception

type Exception struct {
}

func (*Exception) GetCode

func (e *Exception) GetCode() int

func (*Exception) GetFile

func (e *Exception) GetFile() string

func (*Exception) GetLine

func (e *Exception) GetLine() int

func (*Exception) GetMessage

func (e *Exception) GetMessage() string

func (*Exception) GetPrevious

func (e *Exception) GetPrevious() *Throwable

func (*Exception) GetTrace

func (e *Exception) GetTrace() []string

func (*Exception) GetTraceAsString

func (e *Exception) GetTraceAsString() string

func (*Exception) HandleException

func (e *Exception) HandleException(ctx context.Context, action string, args ...interface{})

type Throwable

type Throwable interface {
	GetMessage() string
	GetCode() int
	GetFile() string
	GetLine() int
	GetTrace() []string
	GetTraceAsString() string
	GetPrevious() *Throwable
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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