sessionerrs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom struct {
	// Code corresponds to an http status code (e.g. 401 Unauthorized, or 500 Internal Server Error)
	Code int
	// Err is the actual error thrown
	Err error
}

Custom is the error type returned by this session service package. This custom error is useful for calling funcs to determine which http status code to return to clients on err

Jump to

Keyboard shortcuts

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