errors

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvalidMessageFormatCode = "INVALID_MESSAGE_FORMAT"
)

Variables

View Source
var (
	ErrInvalidMessageFormat = Error{
		Code:    InvalidMessageFormatCode,
		Message: "failed to unmarshal the message, removing the message due to wrong message format"}
)

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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