svc

package
v0.0.0-...-0f1d0c9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDecodeRequest = &Error{StatusCode: http.StatusBadRequest, Message: "request decoding failed"}
)

Predefined errors.

Functions

This section is empty.

Types

type Error

type Error struct {
	StatusCode int
	Message    string
}

Error represets a server error.

func (*Error) Error

func (e *Error) Error() string

Error return the error message of the server error.

Jump to

Keyboard shortcuts

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