Categorygithub.com/go-ap/errors
modulepackage
0.0.0-20250124135319-3da8adefd4a9
Repository: https://github.com/go-ap/errors.git
Documentation: pkg.go.dev

# README

MIT Licensed Build Status Test Coverage Go Report Card

# Functions

Annotatef wraps an error with new message.
No description provided by the author
No description provided by the author
No description provided by the author
Challenge returns the challenge of the err parameter if it's an unauthorized type error.
No description provided by the author
Errorf is an alias for Newf.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HandleError is a generic method to return an HTTP handler that passes an error up the chain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Newf creaates a new error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RenderErrors outputs the json encoded errors, with the JsonLD ctxt for current.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Export a number of functions or variables from package errors.
IncludeBacktrace is a static variable that decides if when creating an error we store the backtrace with it.
Export a number of functions or variables from package errors.
Export a number of functions or variables from package errors.
NotFound is a generic method to return an 404 error HTTP handler that.
Export a number of functions or variables from package errors.

# Structs

Err is our custom error type that can store backtrace, file and line number.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

ErrorHandlerFn.
Frame represents a program counter inside a stack frame.
StackTrace is stack of Frames from innermost (newest) to outermost (oldest).