errors

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package errors defines error cases of edge-orchestration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConnectionError

type DBConnectionError struct {
	Message string
}

DBConnectionError will be used for return case of error

func (DBConnectionError) Error

func (e DBConnectionError) Error() string

Error sets an error message of system error

type DBOperationError

type DBOperationError struct {
	Message string
}

DBOperationError will be used for return case of error

func (DBOperationError) Error

func (e DBOperationError) Error() string

Error sets an error message of db operation error

type InvalidJSON

type InvalidJSON struct {
	Message string
}

InvalidJSON will be used for return case of error

func (InvalidJSON) Error

func (e InvalidJSON) Error() string

Error sets an error message of system error

type InvalidParam

type InvalidParam struct {
	Message string
}

InvalidParam will be used for return case of error

func (InvalidParam) Error

func (e InvalidParam) Error() string

Error sets an error message of invalid method

type NetworkError

type NetworkError struct {
	Message string
}

NetworkError is error related with network operation

func (NetworkError) Error

func (e NetworkError) Error() string

Error sets an error message of network error

type NotFound

type NotFound struct {
	Message string
}

NotFound will be used for return case of error

func (NotFound) Error

func (e NotFound) Error() string

Error sets an error message of not found error

type NotSupport

type NotSupport struct {
	Message string
}

NotSupport will be used for return case of error

func (NotSupport) Error

func (e NotSupport) Error() string

Error sets an error message of not support error

type SystemError

type SystemError struct {
	Message string
}

SystemError will be used for return case of error

func (SystemError) Error

func (e SystemError) Error() string

Error sets an error message of system error

Jump to

Keyboard shortcuts

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