cerr

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package cerr defines core error types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteJoinE

func WriteJoinE(w Writer, sep string, s ...E) int

func WriteJoinS

func WriteJoinS(w Writer, sep string, segments ...string) int

Types

type E

type E interface {
	WriteErr(w Writer) int
}

type Writer

type Writer interface {
	Write(s string) int
}

Writer is the error writer.

Jump to

Keyboard shortcuts

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