exceptions

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FailedEncryptionException added in v1.1.0

type FailedEncryptionException struct {
	// Error description
	Message string `json:"message,omitempty"`

	// The error
	Inner error `json:"inner,omitempty"`
}

FailedEncryptionException provides a specific structure for an error.

func NewFailedEncryptionException added in v1.1.0

func NewFailedEncryptionException() *FailedEncryptionException

Returns an empty Failed Encryption Exception.

func NewFailedEncryptionExceptionMessage added in v1.1.0

func NewFailedEncryptionExceptionMessage(message string) *FailedEncryptionException

Returns a Failed Encryption Exception with a Message.

The `message` parameter represents the error description.

func NewFailedEncryptionExceptionMessageAndInner added in v1.1.0

func NewFailedEncryptionExceptionMessageAndInner(message string, inner error) *FailedEncryptionException

Returns a Failed Encryption Exception with a Message and an Inner.

The `message` parameter represents the error description. The `inner` parameter represents the error.

func (*FailedEncryptionException) Error added in v1.1.0

func (exception *FailedEncryptionException) Error() string

This function formats the error.

type InvalidCredentialsException

type InvalidCredentialsException struct {
	// Error description
	Message string `json:"message,omitempty"`

	// The error
	Inner error `json:"inner,omitempty"`
}

InvalidCredentialsException provides a specific structure for an error.

func NewInvalidCredentialsException

func NewInvalidCredentialsException() *InvalidCredentialsException

Returns an empty Invalid Credentials Exception.

func NewInvalidCredentialsExceptionMessage

func NewInvalidCredentialsExceptionMessage(message string) *InvalidCredentialsException

Returns an Invalid Credentials Exception with a Message.

The `message` parameter represents the error description.

func NewInvalidCredentialsExceptionMessageAndInner

func NewInvalidCredentialsExceptionMessageAndInner(message string, inner error) *InvalidCredentialsException

Returns an Invalid Credentials Exception with a Message and an Inner.

The `message` parameter represents the error description. The `inner` parameter represents the error.

func (*InvalidCredentialsException) Error

func (exception *InvalidCredentialsException) Error() string

This function formats the error.

type InvalidTransactionTypeException

type InvalidTransactionTypeException struct {
	// contains filtered or unexported fields
}

InvalidTransactionTypeException provides a specific structure for an error.

func NewInvalidTransactionTypeException

func NewInvalidTransactionTypeException() *InvalidTransactionTypeException

Returns an empty Invalid Transaction Type Exception.

func NewInvalidTransactionTypeExceptionMessage

func NewInvalidTransactionTypeExceptionMessage(message string) *InvalidTransactionTypeException

Returns an Invalid Transaction Type Exception with a Message.

The `message` parameter represents the error description.

func NewInvalidTransactionTypeExceptionMessageAndInner

func NewInvalidTransactionTypeExceptionMessageAndInner(message string, inner error) *InvalidTransactionTypeException

Returns an Invalid Transaction Type Exception with a Message and an Inner.

The `message` parameter represents the error description. The `inner` parameter represents the error.

func (*InvalidTransactionTypeException) Error

func (exception *InvalidTransactionTypeException) Error() string

This function formats the error.

Jump to

Keyboard shortcuts

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