error

package
v0.0.0-...-07c56e1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CONFIG_NOT_FOUND = ErrorResponse{
	Code:    100,
	Message: "Config not found",
}
View Source
var INVALID_MIME_TYPE = ErrorResponse{
	Code:    100,
	Message: "Invalid MimeTypes",
}
View Source
var MISSING_FILE = ErrorResponse{
	Code:    100,
	Message: "Missing file in request",
}

Functions

This section is empty.

Types

type ErrorResponse

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

Jump to

Keyboard shortcuts

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