errs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRequestValidation = errors.New("request validation")

Functions

This section is empty.

Types

type Error

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

func NewError

func NewError(err error) *Error

func (*Error) Error

func (e *Error) Error() string

type LicenseError added in v1.0.0

type LicenseError struct {
	Message string `json:"message"`
	// contains filtered or unexported fields
}

func NewLicenseError added in v1.0.0

func NewLicenseError(err error) *LicenseError

func (*LicenseError) Error added in v1.0.0

func (e *LicenseError) Error() string

type ValidateError

type ValidateError struct {
	Message string                 `json:"message"`
	Fields  map[string]interface{} `json:"fields"`
	// contains filtered or unexported fields
}

func NewValidateError

func NewValidateError(err error) *ValidateError

func (*ValidateError) Error

func (e *ValidateError) Error() string

Jump to

Keyboard shortcuts

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