exception

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PanicIgnore added in v1.3.11

func PanicIgnore()

PanicIgnore 忽略panic, 继续执行

Types

type Exception

type Exception struct {
	Throwable
	// contains filtered or unexported fields
}

func New

func New(code int, message string) *Exception

func (Exception) Code

func (this Exception) Code() int

func (Exception) Error

func (this Exception) Error() string

type Throwable

type Throwable interface {
	error
	Code() int
}

Jump to

Keyboard shortcuts

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