Documentation
¶
Overview ¶
Package errordetails provides utilities for working with error details.
Index ¶
Constants ¶
View Source
const ( ErrorInfoType = "type.googleapis.com/google.rpc.ErrorInfo" StructType = "type.googleapis.com/google.protobuf.Struct" )
Error detail type URLs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Typed ¶
Typed is a wrapper around a value that is marshaled with a type URL.
func NewErrorInfo ¶
NewErrorInfo creates a new ErrorInfo error detail.
func NewFromStruct ¶
NewFromStruct creates a new StructType error detail from a map.
func (*Typed) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (*Typed) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.