errors

package
v0.0.0-...-9725760 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertionError

type AssertionError struct {
	CustomMessage string
}

AssertionError is a error that is used to note that assertion failed

func (AssertionError) Error

func (ae AssertionError) Error() string

type Error

type Error = error

type Exception

type Exception = error

type FunctionalError

type FunctionalError struct {
}

FunctionalError is a error that is used to note that error happened based on input or other assertions

func (FunctionalError) Error

func (FunctionalError) Error() string

type NullError

type NullError struct {
}

NullError is a type that is used to note that a value of error is null This is meant for situations where you need empty error value

func (NullError) Error

func (NullError) Error() string

type NullableError

type NullableError struct {
}

func (NullableError) Error

func (NullableError) Error() string

type OptionError

type OptionError struct {
}

func (OptionError) Error

func (OptionError) Error() string

type UnwrapError

type UnwrapError struct {
}

func (UnwrapError) Error

func (UnwrapError) Error() string

Jump to

Keyboard shortcuts

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