transfergrpcerrors

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGrpcTransferNotFound  = errors.NewGrpcError("Transfer not found", int(codes.NotFound))
	ErrGrpcTransferInvalidID = errors.NewGrpcError("Invalid Transfer ID", int(codes.InvalidArgument))
	ErrGrpcInvalidUserID     = errors.NewGrpcError("Invalid user ID", int(codes.InvalidArgument))
	ErrGrpcInvalidCardNumber = errors.NewGrpcError("Invalid card number", int(codes.InvalidArgument))
	ErrGrpcInvalidMonth      = errors.NewGrpcError("Invalid month", int(codes.InvalidArgument))
	ErrGrpcInvalidYear       = errors.NewGrpcError("Invalid year", int(codes.InvalidArgument))
)
View Source
var (
	ErrGrpcValidateCreateTransferRequest = errors.NewGrpcError("Invalid input for create transfer", int(codes.InvalidArgument))
	ErrGrpcValidateUpdateTransferRequest = errors.NewGrpcError("Invalid input for update transfer", int(codes.InvalidArgument))
)

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