pyerrors

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package pyerrors holds functions returning an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Div

func Div(i, j int) (int, error)

Div is a function for detecting errors.

Types

type MyString added in v0.3.5

type MyString string

func (MyString) String added in v0.3.5

func (t MyString) String() string

type Stringer added in v0.3.5

type Stringer fmt.Stringer

func NewMyString added in v0.3.5

func NewMyString(val string) (stringer Stringer, err error)

NewMyString converts a string to a custom MyString type. It is an error to pass an empty string value.

Jump to

Keyboard shortcuts

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