metrictank: github.com/grafana/metrictank/errors Index | Files

package errors

import "github.com/grafana/metrictank/errors"

Index

Package Files

errors.go

type BadRequest Uses

type BadRequest string

func NewBadRequest Uses

func NewBadRequest(err string) BadRequest

func NewBadRequestf Uses

func NewBadRequestf(format string, a ...interface{}) BadRequest

func (BadRequest) Error Uses

func (b BadRequest) Error() string

func (BadRequest) HTTPStatusCode Uses

func (b BadRequest) HTTPStatusCode() int

type Internal Uses

type Internal string

func NewInternal Uses

func NewInternal(err string) Internal

func NewInternalf Uses

func NewInternalf(format string, a ...interface{}) Internal

func (Internal) Error Uses

func (i Internal) Error() string

func (Internal) HTTPStatusCode Uses

func (i Internal) HTTPStatusCode() int

Package errors imports 2 packages (graph) and is imported by 9 packages. Updated 2020-03-18. Refresh now. Tools for package owners.