package
0.1.5
Repository: https://github.com/playerr9/go-errors.git
Documentation: pkg.go.dev

# Functions

Cond asserts that a condition is true.
CondF asserts that a condition is true.
Conv asserts that the given object can be converted to type T.
Err asserts that an error is nil.
Fix fixes the object.
New asserts a constructor returns a non-zero value.
NotNil asserts that the given object is not nil.
NotOk asserts that a condition is false.
NotZero asserts that the given object is not its zero value.
Ok asserts that a condition is true.
Type asserts that the given object is of type T.
Validate validates the object.

# Constants

AssertFail occurs when a test or assertion fails.
FailFix occurs when a struct cannot be fixed or resolved due to an invalid internal state.
InvalidState is a type of assertion that occurs when a method is called on a struct having an invalid state.

# Interfaces

Fixer is defines the behavior of an object that can be fixed.
Validater is an interface that all validaters must implement.

# Type aliases

ErrorCode is the type of the error code.