package
0.1.3
Repository: https://github.com/raphy42/weekend.git
Documentation: pkg.go.dev

# Functions

All executes a list of `func() error` and stops at the first non-nil error encountered.
AllCtx executes a list of `func(context.Context) error` and stops if the `context.Context` is no longer valid, or at the first non-nil error encountered.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AInvariant is an error axiom for invariants (eg: nil check).
AMalformed is an error axiom for malformed or corrupted items.
ANil is an error axiom for nil values.
ANotFound is an error axiom for missing or not found items.
ATimeout is an error relating to time outs.
ATooBig is an error axiom mostly for sizeable items (mostly used in conjunction with `DSize`).
ATooSmall is an error axiom mostly for sizeable items (mostly used in conjunction with `DSize`).
AUnexpected is an error axiom used to mark an interaction as unwanted.
AUnimplemented is an error axiom for missing domain.
AUnreachable is an error axiom used to define unreachable areas of code or logic.
DDependency is an error domain related to dependencies, mostly used by the di system.
DEncoding is an error domain related to serialization (JSON, text, etc...).
DIO is an error domain for IO (file, http-transport, etc...).
DLogic is an error domain for logic (loops, control-flow, etc...).
DResource is an error domain for resources (database model, configuration, etc...).
DService is an error domain for services (clients, database drivers, etc...).
DSize is an error domain for sizeable items (array, buffer, etc...).
DSynchro is an error domain related to synchronisation semantics (context, mutex, etc...).
DTemporal is an error domain for everything `time` related (timeout, tickers, etc...).
DTransport is an error domain related to transports (tcp, etc...).
DType is an error domain related to the type system (any, reflection, etc...).
DUser is an error domain related to user interactions (form submission, user inputs, etc...).
DValue is an error domain related to values.
KPersistent is an error kind that is considered inside the application invariants (bad input, wrong initialisation order) persistent errors are generally unrecoverable due to bad domain invariants, or programming errors.
KTransient is an error kind that may happen outside the application invariants (network failure, service down) transient errors must only be associated with retryable idempotent domain.

# Variables

EInvalidCast todo.
EInvalidContext signals that a context is no longer valid, but should have been at the time of invocation.
ENil todo.
ENotImplemented signals that this part of logic was not implemented.
EUnreachable todo.

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author