er

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package er provides helpers to simplify building errors returning.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L

type L string

func (L) String

func (l L) String() string

type Q

type Q string

func (Q) String

func (q Q) String() string

type RAttr

type RAttr struct {
	// contains filtered or unexported fields
}

func (*RAttr) Any

func (e *RAttr) Any(k, v any) *RAttr

func (*RAttr) Bool

func (e *RAttr) Bool(k, v any) *RAttr

func (*RAttr) Float32

func (e *RAttr) Float32(k, v any) *RAttr

func (*RAttr) Float64

func (e *RAttr) Float64(k, v any) *RAttr

func (*RAttr) Int

func (e *RAttr) Int(k, v any) *RAttr

func (*RAttr) Int16

func (e *RAttr) Int16(k, v any) *RAttr

func (*RAttr) Int32

func (e *RAttr) Int32(k, v any) *RAttr

func (*RAttr) Int64

func (e *RAttr) Int64(k, v any) *RAttr

func (*RAttr) Int8

func (e *RAttr) Int8(k, v any) *RAttr

func (*RAttr) LenReq

func (e *RAttr) LenReq(v any) *RAttr

func (*RAttr) LenSrc

func (e *RAttr) LenSrc() *RAttr

func (*RAttr) Pfx

func (e *RAttr) Pfx(v any) *RAttr

func (*RAttr) Rend

func (e *RAttr) Rend(r *renderer.Go, a ...any)

func (*RAttr) Stg

func (e *RAttr) Stg(k, v any) *RAttr

func (*RAttr) Str

func (e *RAttr) Str(k, v any) *RAttr

func (*RAttr) Strs

func (e *RAttr) Strs(k, v any) *RAttr

func (*RAttr) Type

func (e *RAttr) Type(k, v any) *RAttr

func (*RAttr) Uint

func (e *RAttr) Uint(k, v any) *RAttr

func (*RAttr) Uint16

func (e *RAttr) Uint16(k, v any) *RAttr

func (*RAttr) Uint32

func (e *RAttr) Uint32(k, v any) *RAttr

func (*RAttr) Uint64

func (e *RAttr) Uint64(k, v any) *RAttr

func (*RAttr) Uint8

func (e *RAttr) Uint8(k, v any) *RAttr

type RType

type RType struct {
	// contains filtered or unexported fields
}

func Return

func Return() *RType

func (*RType) New

func (e *RType) New(msg string) *RAttr

func (*RType) Newf

func (e *RType) Newf(msg string, a ...string) *RAttr

func (*RType) Wrap

func (e *RType) Wrap(err string, msg string) *RAttr

Jump to

Keyboard shortcuts

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