svcerr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceError

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

func New

func New(err error, category ServiceErrorCategory) *ServiceError

func (*ServiceError) Category

func (se *ServiceError) Category() ServiceErrorCategory

func (*ServiceError) ErrorValue

func (se *ServiceError) ErrorValue() error

type ServiceErrorCategory

type ServiceErrorCategory string

Jump to

Keyboard shortcuts

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