errors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCacheUninitialized       = errors.New("the route cache is uninitialized")
	ErrFailedToCreateRouteCache = errors.New("failed to create route cache")
	ErrRouterNotCreated         = errors.New("router not created")
	ErrNoPathProvided           = errors.New("no path provided")
)

Functions

func NewErrBadgerInit

func NewErrBadgerInit(baseDir, subDir string) error

func NewErrRouteNotFound

func NewErrRouteNotFound(route string) error

Types

type ErrBadgerInit

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

func (ErrBadgerInit) Error

func (e ErrBadgerInit) Error() string

type ErrRouteNotFound

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

func (ErrRouteNotFound) Error

func (e ErrRouteNotFound) Error() string

type WrappedErr

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

func Wrap

func Wrap(e, with error) WrappedErr

func (WrappedErr) Error

func (e WrappedErr) Error() string

func (WrappedErr) Unwrap

func (e WrappedErr) Unwrap() error

Jump to

Keyboard shortcuts

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