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
Click to show internal directories.
Click to hide internal directories.