package
0.0.0-20240828184941-667ddf2c5bbc
Repository: https://github.com/allexsen/learning-project.git
Documentation: pkg.go.dev

# Functions

HandleCriticalError logs the error, and then panics.
HandleError logs the error, and writes response header.
New() creates a new AppError and returns a reference to it.

# Variables

Auth-related.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
DB-related.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Validation-related.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
.env.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
General.
Record-related.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
Custom error types for centralized error handling.
User-related.

# Structs

AppError represents the custom error structure.