models

package
v0.0.0-...-cd8656f Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbedError

type EmbedError struct {
	Value any           `json:"value,omitempty"`
	Embed []*EmbedError `json:"embed,omitempty"`
}

type Error

type Error struct {
	Code    string         `json:"code,omitempty"`
	Message string         `json:"message,omitempty"`
	Embed   *EmbedError    `json:"embed,omitempty"`
	Fields  map[string]any `json:"fields,omitempty"`
	Codes   struct {
		GRPC codes.Code `json:"grpc"`
		HTTP int        `json:"http"`
	} `json:"codes"`
}

Jump to

Keyboard shortcuts

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