inform

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MPL-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package inform includes helper functions for informing the user about errors, warnings, etc. Functions in this package are intended to be used instead of, not in addition to, returning an error - so if they fail to inform the user via the informer Operation, they will log the error instead.

Index

Constants

View Source
const OpName = "inform"

Variables

This section is empty.

Functions

func Err

func Err(ctx context.Context, b input.Binder, format string, args ...any)

Err will inform the user about an error, using the "inform" action bound to b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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