common_errors

package
v0.0.0-...-7102353 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidSubscription = errors.New("has no active subscription")

Functions

func GetErrorContext

func GetErrorContext() string

func NewUserError

func NewUserError(err error) error

func NewUserErrorS

func NewUserErrorS(err string) error

Types

type UserVisibleError

type UserVisibleError struct {
	Err error
}

func (*UserVisibleError) Error

func (e *UserVisibleError) Error() string

func (*UserVisibleError) Unwrap

func (e *UserVisibleError) Unwrap() error

type ValidationError

type ValidationError struct {
	Message string
}

func NewValidationError

func NewValidationError(message string) *ValidationError

func (*ValidationError) Error

func (e *ValidationError) Error() string

Jump to

Keyboard shortcuts

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