errors

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Record slog.Record
}

func New

func New(msg string, args ...slog.Attr) *Error

New builds an error using the structuring logging protocol; the resulting error is a slog.Record

func SkipNew

func SkipNew(skip int, msg string, args ...slog.Attr) *Error

func (*Error) Error

func (err *Error) 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