exception

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppError

type AppError struct {
	Code    string
	Message string
	Cause   error
}

func (*AppError) Error

func (e *AppError) Error() string

func (*AppError) Unwrap

func (e *AppError) Unwrap() error

type DatabaseError

type DatabaseError struct {
	*AppError
}

func NewDatabaseError

func NewDatabaseError(message string, cause error) *DatabaseError

type PadNotFoundError

type PadNotFoundError struct {
	*AppError
	PadId string
}

func NewPadNotFoundError

func NewPadNotFoundError(padId string) *PadNotFoundError

Jump to

Keyboard shortcuts

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