error

package
v4.0.2-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: UNKNOWN not legal advice Imports: 4 Imported by: 0

Documentation

Overview

Auto-injected error response object by the dev platform

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppMessage

type AppMessage struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	ArgumentsMap map[string]string `json:"argumentsMap,omitempty"`

	Code *string `json:"code,omitempty"`

	ErrorGroup *string `json:"errorGroup,omitempty"`
	/**
	  The locale for the message description.
	*/
	Locale *string `json:"locale,omitempty"`

	Message *string `json:"message,omitempty"`

	Severity *import1.MessageSeverity `json:"severity,omitempty"`
}

* This schema is generated from AppMessage.java

func NewAppMessage

func NewAppMessage() *AppMessage

type ErrorResponse

type ErrorResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/**

	 */
	ErrorItemDiscriminator_ *string `json:"$errorItemDiscriminator,omitempty"`

	Error *OneOfErrorResponseError `json:"error,omitempty"`
}

* This schema is auto-generated by the Open API Dev Platform as REST response for 4xx and 5xx error responses.

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

func (*ErrorResponse) GetError

func (p *ErrorResponse) GetError() interface{}

func (*ErrorResponse) SetError

func (p *ErrorResponse) SetError(v interface{}) error

type OneOfErrorResponseError

type OneOfErrorResponseError struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfErrorResponseError

func NewOneOfErrorResponseError() *OneOfErrorResponseError

func (*OneOfErrorResponseError) GetValue

func (p *OneOfErrorResponseError) GetValue() interface{}

func (*OneOfErrorResponseError) MarshalJSON

func (p *OneOfErrorResponseError) MarshalJSON() ([]byte, error)

func (*OneOfErrorResponseError) SetValue

func (p *OneOfErrorResponseError) SetValue(v interface{}) error

func (*OneOfErrorResponseError) UnmarshalJSON

func (p *OneOfErrorResponseError) UnmarshalJSON(b []byte) error

type SchemaValidationError

type SchemaValidationError struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Error *string `json:"error,omitempty"`

	Path *string `json:"path,omitempty"`

	StatusCode *int `json:"statusCode,omitempty"`

	Timestamp *string `json:"timestamp,omitempty"`

	ValidationErrorMessages []SchemaValidationErrorMessage `json:"validationErrorMessages,omitempty"`
}

* This schema is generated from SchemaValidationError.java

func NewSchemaValidationError

func NewSchemaValidationError() *SchemaValidationError

type SchemaValidationErrorMessage

type SchemaValidationErrorMessage struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	AttributePath *string `json:"attributePath,omitempty"`

	Location *string `json:"location,omitempty"`

	Message *string `json:"message,omitempty"`
}

* This schema is generated from SchemaValidationErrorMessage.java

func NewSchemaValidationErrorMessage

func NewSchemaValidationErrorMessage() *SchemaValidationErrorMessage

Jump to

Keyboard shortcuts

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