problems

package
v0.0.0-...-2215086 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDefaultProblem

func IsDefaultProblem(d interface{}) bool

func ProblemStatus

func ProblemStatus(d interface{}) int

Types

type ProblemWrapper

type ProblemWrapper struct {
	*problems.DefaultProblem
}

func NewDetailedProblem

func NewDetailedProblem(status int, details string) *ProblemWrapper

func NewProviderProblem

func NewProviderProblem(code int, details string) *ProblemWrapper

func NewUnknownProblem

func NewUnknownProblem(un interface{}) *ProblemWrapper

func NewValidationProblem

func NewValidationProblem(code int, details string) *ProblemWrapper

func (*ProblemWrapper) String

func (pw *ProblemWrapper) String() string

Jump to

Keyboard shortcuts

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