error_response

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 6 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 {
	// contains filtered or unexported fields
}

func New

func New[T CodeType](code T, severity api_errors.ErrorSeverity, message string) Error

New は Connect RPC のエラーを生成します。

func (Error) ConnectError

func (e Error) ConnectError() *connect.Error

func (Error) Error

func (e Error) Error() string

func (Error) Severity

func (e Error) Severity() api_errors.ErrorSeverity

Jump to

Keyboard shortcuts

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