errors

package
v0.0.0-...-1f8cd32 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: BSD-3-Clause, MIT Imports: 0 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	Category       *string `json:"category,omitempty"`
	Code           *string `json:"code,omitempty"`
	HTTPStatusCode *int32  `json:"httpStatusCode,omitempty"`
	ID             *string `json:"id,omitempty"`
	Message        *string `json:"message,omitempty"`
	PropertyName   *string `json:"propertyName,omitempty"`
	RequestID      *string `json:"requestId,omitempty"`
}

APIError represents class APIError

func NewAPIError

func NewAPIError() *APIError

NewAPIError constructs a new APIError

type ErrorResponse

type ErrorResponse struct {
	ErrorID *string     `json:"errorId,omitempty"`
	Errors  *[]APIError `json:"errors,omitempty"`
}

ErrorResponse represents class ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse constructs a new ErrorResponse

Jump to

Keyboard shortcuts

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