response

package
v0.0.0-...-fad68f1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 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 Error

type Error struct {
	// A slug indicating the type of the error
	Type string `json:"type"`

	// Description of the error that occurred.
	Message string `json:"message"`

	// A slug code to indicate the type of the error.
	Code string `json:"code,omitempty"`
}

type Errors

type Errors struct {
	// Array of errors
	Errors []*Error `json:"errors,omitempty"`
	// Default: "Provided request body contains errors. Please check the data and retry the request"
	Message string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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