errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalError

type InternalError struct {
	Message  string   `json:"error_message"`
	HttpCode int      `json:"http_code"`
	Details  []string `json:"details"`
}

func NewInternalError

func NewInternalError(message string, httpCode int, details []string) *InternalError

func (*InternalError) Error

func (e *InternalError) Error() string

Jump to

Keyboard shortcuts

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