errors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package errors provides custom error types and error handling utilities.

This package defines application-specific error types that can be used throughout the codebase for consistent error handling and reporting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseError

type BaseError struct {
	Message string
	Code    string
}

BaseError is the foundation for all custom errors in this project.

func New

func New(message, code string) *BaseError

New creates a new BaseError with the given message and code.

func (*BaseError) Error

func (e *BaseError) Error() string

Error implements the error interface.

Jump to

Keyboard shortcuts

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