cause

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package cause is used to define root causes for errors common to errors packages like grpc and http.

Index

Constants

View Source
const UnexpectedStatusPrefix = "unexpected status "

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrUnexpectedStatus

type ErrUnexpectedStatus struct {
	Status int
}

func (ErrUnexpectedStatus) Error

func (e ErrUnexpectedStatus) Error() string

func (ErrUnexpectedStatus) Unknown

func (ErrUnexpectedStatus) Unknown()

Jump to

Keyboard shortcuts

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