errorImpl

package
Version: v0.0.0-...-9e745d5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminsError

func AdminsError(customText string, err error) error

AdminsError - create custom admins error

func AuthError

func AuthError(customText string, err error) error

AuthError - create custom auth error

func ScenarioError

func ScenarioError(customText string, err error) error

ScenarioError - create custom scenario error

func ServiceError

func ServiceError(customText string, err error) error

ServiceError - create custom auth error

func WriteHTTPError

func WriteHTTPError(w http.ResponseWriter, httpStatusCode int, err error)

WriteHTTPError - default write error func

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL