errors

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errors provides custom error type and error codes for uint128 and dec128 packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error uint8
const (
	None Error = iota
	NotANumber
	DivisionByZero
	Overflow
	Underflow
	Negative
	NotEnoughBytes
	InvalidFormat
	PrecisionOutOfRange
	RescaleToLessPrecision
	SqrtNegative
)

func (Error) Error

func (e Error) Error() string

func (Error) Value

func (e Error) Value() error

Jump to

Keyboard shortcuts

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