errors

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 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 added in v0.0.4

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