saldorepositoryerrors

package
v1.0.28 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrGetMonthlySaldoBalancesFailed is returned when fetching monthly saldo balances fails.
	ErrGetMonthlySaldoBalancesFailed = errors.ErrInternal.WithMessage("Failed to get monthly saldo balances")

	// ErrGetYearlySaldoBalancesFailed is returned when fetching yearly saldo balances fails.
	ErrGetYearlySaldoBalancesFailed = errors.ErrInternal.WithMessage("Failed to get yearly saldo balances")
)
View Source
var (
	// ErrCreateSaldoFailed is returned when creating a saldo record fails.
	ErrCreateSaldoFailed = errors.ErrInternal.WithMessage("Failed to create saldo record")

	// ErrUpdateSaldoFailed is returned when updating a saldo record fails.
	ErrUpdateSaldoFailed = errors.ErrInternal.WithMessage("Failed to update saldo record")

	// ErrUpdateSaldoBalanceFailed is returned when updating saldo balance fails.
	ErrUpdateSaldoBalanceFailed = errors.ErrInternal.WithMessage("Failed to update saldo balance")

	// ErrUpdateSaldoWithdrawFailed is returned when updating saldo for a withdrawal fails.
	ErrUpdateSaldoWithdrawFailed = errors.ErrInternal.WithMessage("Failed to update saldo withdrawal")

	// ErrTrashSaldoFailed is returned when soft-deleting (trashing) a saldo record fails.
	ErrTrashSaldoFailed = errors.ErrInternal.WithMessage("Failed to move saldo record to trash")

	// ErrRestoreSaldoFailed is returned when restoring a trashed saldo record fails.
	ErrRestoreSaldoFailed = errors.ErrInternal.WithMessage("Failed to restore saldo record from trash")

	// ErrDeleteSaldoPermanentFailed is returned when permanently deleting a saldo record fails.
	ErrDeleteSaldoPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete saldo record")

	// ErrRestoreAllSaldosFailed is returned when restoring all trashed saldo records fails.
	ErrRestoreAllSaldosFailed = errors.ErrInternal.WithMessage("Failed to restore all saldo records")

	// ErrDeleteAllSaldosPermanentFailed is returned when permanently deleting all saldo records fails.
	ErrDeleteAllSaldosPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete all saldo records")
)
View Source
var (
	// ErrFindAllSaldosFailed is returned when fetching all saldo records fails.
	ErrFindAllSaldosFailed = errors.ErrInternal.WithMessage("Failed to find all saldo records")

	// ErrFindActiveSaldosFailed is returned when fetching active saldo records fails.
	ErrFindActiveSaldosFailed = errors.ErrInternal.WithMessage("Failed to find active saldo records")

	// ErrFindTrashedSaldosFailed is returned when fetching trashed saldo records fails.
	ErrFindTrashedSaldosFailed = errors.ErrInternal.WithMessage("Failed to find trashed saldo records")

	// ErrFindSaldoByIdFailed is returned when fetching a saldo by its ID fails.
	ErrFindSaldoByIdFailed = errors.ErrInternal.WithMessage("Failed to find saldo by ID")

	// ErrFindSaldoByCardNumberFailed is returned when fetching saldo by card number fails.
	ErrFindSaldoByCardNumberFailed = errors.ErrInternal.WithMessage("Failed to find saldo by card number")
)
View Source
var (
	// ErrGetMonthlyTotalSaldoBalanceFailed is returned when fetching monthly total saldo balance fails.
	ErrGetMonthlyTotalSaldoBalanceFailed = errors.ErrInternal.WithMessage("Failed to get monthly total saldo balance")

	// ErrGetYearTotalSaldoBalanceFailed is returned when fetching yearly total saldo balance fails.
	ErrGetYearTotalSaldoBalanceFailed = errors.ErrInternal.WithMessage("Failed to get yearly total saldo balance")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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